diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-12-04 11:16:43 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-12-04 11:16:43 +0100 |
commit | 3f85124a8e3affdd22d0bc2763e900f9895341be (patch) | |
tree | 2bef840da1e056d9e1fe5bc8fd5b45c46fb13f36 | |
parent | 7efc99f9398974d165b28ada818a9971cff0eadb (diff) |
Revert "ci: Temporarily drop all Windows builders."
This reverts commit 327a987e2c95ea9d05fcadd6fa7a8c249372affd.
-rw-r--r-- | .gitlab-ci.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 54462b0e..9156c0b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -101,6 +101,49 @@ rust-stable: CARGO_TARGET_DIR: $CI_PROJECT_DIR/../target.$CI_CONCURRENT_ID.rust-stable RUSTFLAGS: -D warnings -A unused-parens +windows-gnu: + tags: + - win + - win2019 + stage: build + image: registry.gitlab.com/sequoia-pgp/build-docker-image/windows-gnu + # This job takes ~20 minutes to run, let's only execute it manually or for + # scheduled builds, otherwise this will stall MRs often not related to Windows + only: + - /windows/i # refs containing 'windows' keyword + - tags + - web + - scheduled + before_script: + - clang -v + - rustc --version --verbose + - cargo --version + script: + - cargo test --all --exclude sequoia-openpgp-ffi + # https://github.com/rust-lang/cargo/issues/5015 + - cargo test --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-cng,compression + after_script: [] + variables: + CFLAGS: "" # Silence some C warnings when compiling under Windows + +windows-msvc: + tags: + - win + - win2019 + stage: build + image: registry.gitlab.com/sequoia-pgp/build-docker-image/windows-msvc + before_script: + - rustc --version --verbose + - cargo --version + script: + # https://github.com/rust-lang/cargo/issues/5015 + - cargo build --manifest-path ffi/Cargo.toml --no-default-features --features crypto-cng,compression + - cargo build --manifest-path openpgp-ffi/Cargo.toml --no-default-features --features crypto-cng,compression + - cargo test --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-cng,compression + after_script: [] + variables: + CFLAGS: "" # Silence some C warnings when compiling with MSVC + variables: DEBIAN_FRONTEND: noninteractive CARGO_HOME: $CI_PROJECT_DIR/../cargo |