summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2022-06-20 14:12:40 +0200
committerJustus Winter <justus@sequoia-pgp.org>2022-06-27 12:36:57 +0200
commit7d6aa4527ff5098e62755c7938f218a5c23abd84 (patch)
treebe15da34f0ed533699eca66f90b019626901fceb
parente02e7ff48dfe79caa3ca0c2504ef2e87465ccdd5 (diff)
ci: Don't run shell fragments using Powershell.
-rw-r--r--.gitlab-ci.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9f878c08..f834a947 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -346,9 +346,10 @@ windows-gnu-nettle:
# Forks of this project most likely use gitlab's shared windows runners, which
# do not use the docker executor, so disable the windows jobs for forks.
- $CI_PROJECT_NAMESPACE == "sequoia-pgp"
+ before_script: [] # scriptlet doesn't work on Powershell
script:
- cargo test -p buffered-reader -p sequoia-openpgp
- after_script: []
+ after_script: [] # scriptlet doesn't work on Powershell
variables:
CFLAGS: "" # Silence some C warnings when compiling under Windows
@@ -369,10 +370,11 @@ windows-gnu-cng:
# Forks of this project most likely use gitlab's shared windows runners, which
# do not use the docker executor, so disable the windows jobs for forks.
- $CI_PROJECT_NAMESPACE == "sequoia-pgp"
+ before_script: [] # scriptlet doesn't work on Powershell
script:
# https://github.com/rust-lang/cargo/issues/5015
- cargo test --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-cng,compression
- after_script: []
+ after_script: [] # scriptlet doesn't work on Powershell
variables:
CFLAGS: "" # Silence some C warnings when compiling under Windows
@@ -396,7 +398,7 @@ windows-msvc-cng:
# 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
- after_script: []
+ after_script: [] # scriptlet doesn't work on Powershell
variables:
CFLAGS: "" # Silence some C warnings when compiling with MSVC
@@ -436,7 +438,7 @@ windows-msvc32-cng:
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
- after_script: []
+ after_script: [] # scriptlet doesn't work on Powershell
variables:
CFLAGS: "" # Silence some C warnings when compiling with MSVC