diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2023-03-22 11:21:59 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2023-03-22 11:21:59 +0100 |
commit | fd86f8737c4e16e845cbc113093ab4f2803d2dac (patch) | |
tree | ce32115406e5fe6fc02ef511cfd1a01d583bd96a /.gitlab-ci.yml | |
parent | 26c48c35737583f3751e44ef5eb86018f8efed83 (diff) |
ci: Do not run the doctests on Windows.
- Doctests have to be individually compiled, linked, and executed.
This seems to be very slow on Windows: running the doctests
accounts for two thirds of the total job runtime.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cef35204..5d91ec34 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -278,7 +278,7 @@ windows-gnu-nettle: - clang -v - gpg --version script: - - cargo test --workspace + - cargo test --tests --workspace after_script: [] # scriptlet doesn't work on Powershell variables: CFLAGS: "" # Silence some C warnings when compiling under Windows @@ -310,7 +310,7 @@ windows-gnu-cng: - gpg --version script: # https://github.com/rust-lang/cargo/issues/5015 - - cargo test --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-cng,compression + - cargo test --tests --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-cng,compression after_script: [] # scriptlet doesn't work on Powershell variables: CFLAGS: "" # Silence some C warnings when compiling under Windows @@ -336,7 +336,7 @@ windows-msvc-cng: script: # https://github.com/rust-lang/cargo/issues/5015 - cargo run --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-cng,compression --example supported-algorithms - - cargo test --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-cng,compression + - cargo test --tests --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-cng,compression after_script: [] # scriptlet doesn't work on Powershell variables: CFLAGS: "" # Silence some C warnings when compiling with MSVC @@ -376,7 +376,7 @@ windows-msvc32-cng: - cargo --version script: # https://github.com/rust-lang/cargo/issues/5015 - - cargo test --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-cng,compression --target i686-pc-windows-msvc + - cargo test --tests --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-cng,compression --target i686-pc-windows-msvc after_script: [] # scriptlet doesn't work on Powershell variables: CFLAGS: "" # Silence some C warnings when compiling with MSVC |