diff options
author | Igor Matuszewski <igor@sequoia-pgp.org> | 2020-03-19 16:03:57 +0100 |
---|---|---|
committer | Igor Matuszewski <igor@sequoia-pgp.org> | 2020-03-30 11:48:47 +0200 |
commit | 79ea050a62e0281d19bfa8e643c6f870585f5cac (patch) | |
tree | 20e86f41905b941424152657c32713da7dd345de /.gitlab-ci | |
parent | b19d332f36db71177c8dfbe7821d4cc03586173a (diff) |
ci: Add a Windows job using GitLab Windows Shared Runners
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/test-msys2.sh | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.gitlab-ci/test-msys2.sh b/.gitlab-ci/test-msys2.sh new file mode 100644 index 00000000..a78232c6 --- /dev/null +++ b/.gitlab-ci/test-msys2.sh @@ -0,0 +1,33 @@ +#!/bin/bash +set -e + +date +pacman --noconfirm -S --needed \ + base-devel \ + mingw-w64-x86_64-toolchain \ + mingw-w64-x86_64-bzip2 \ + mingw-w64-x86_64-nettle \ + mingw-w64-x86_64-sqlite3 \ + mingw-w64-x86_64-capnproto \ + mingw-w64-x86_64-clang +# ^^ It's worth noting that for Rust < 1.40, bindgen has problem picking up +# correct libclang. This is tested and working for clang 9 but if that +# stops for any reason (newer versions), we'd need to download a specific +# version from repo.msys2.org/mingw/x86_64/ and install it manually. + +clang --version + +date +# Ensure everything compiles but leave FFI tests for now +# Also omit some of the time-consuming tests because we hit CI 1hr timeout +cargo test -v \ + -p buffered-reader \ + -p sequoia-ipc \ + -p sequoia-openpgp \ + -p sequoia-sqv +# -p sequoia-autocrypt \ +# -p sequoia-core \ +# -p sequoia-net +# -p sequoia-store # FIXME: Somehow keeps CI stalled (zombie children proc?) +# -p sequoia-ffi \ +# -p sequoia-openpgp-ffi \ |