summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2022-08-11 17:47:10 -0600
committerAlan Somers <asomers@gmail.com>2022-08-11 17:47:10 -0600
commit8c65c3702d8db4c06d155e3e9dc6bb18aba01c15 (patch)
tree0202043ddb55215813e5073b7526a7f8f9fb5d21
parenta10078f35c9564950035dfc88cb3a2cd9f3d9be3 (diff)
downloadnix-8c65c3702d8db4c06d155e3e9dc6bb18aba01c15.zip
Disable cargo-hack in CI
Serde accidentally raised its MSRV to 1.51.0 in a patch release. They don't intent to fix it. Nix uses Serde via cargo-hack in CI. Disable it so we can publish a final release at 1.46.0.
-rw-r--r--.cirrus.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 49f259a1..f5c56ab8 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -11,6 +11,9 @@ env:
# The MSRV
TOOLCHAIN: 1.46.0
ZFLAGS:
+ # Temporarily disable cargo-hack until we raise the MSRV to 1.51.0 or later.
+ # See https://github.com/nix-rust/nix/pull/1792
+ NOHACK: 1
# Tests that don't require executing the build binaries
build: &BUILD
@@ -64,7 +67,7 @@ task:
- cargo test --target i686-unknown-freebsd
i386_feature_script:
- . $HOME/.cargo/env
- - cargo hack check --each-feature --target i686-unknown-freebsd
+ - if [ -z "$NOHACK" ]; then cargo hack check --each-feature --target i686-unknown-freebsd; fi
before_cache_script: rm -rf $CARGO_HOME/registry/index
# Test macOS x86_64 in a full VM