File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 77 test :
88 runs-on : ubuntu-latest
99
10+ strategy :
11+ matrix :
12+ nu7 :
13+ - true
14+ - false
15+
1016 env :
1117 # Use system-installed RocksDB library instead of building from scratch
1218 ROCKSDB_LIB_DIR : /usr/lib
@@ -33,10 +39,18 @@ jobs:
3339 run : sudo apt-get update && sudo apt-get install -y protobuf-compiler librocksdb-dev
3440 - name : Install formatting & linting tools
3541 run : rustup component add rustfmt clippy
36- - name : Run tests
37- run : timeout --preserve-status 1h cargo test --verbose --locked
42+
3843 - name : Verify working directory is clean
3944 run : git diff --exit-code
45+
46+ - name : Strip nu7/tx_v6 flags from config
47+ if : ${{ !matrix.nu7 }}
48+ run : |
49+ sed -i 's|.*"--cfg", .feature="tx_v6".*|# &|' .cargo/config.toml
50+ sed -i 's|.*"--cfg", "zcash_unstable=\\"nu7\\"".*|# &|' .cargo/config.toml
51+
52+ - name : Run tests
53+ run : timeout --preserve-status 1h cargo test --verbose --locked
4054 - name : Run doc check
4155 run : cargo doc --workspace --no-deps --all-features --document-private-items --locked
4256 - name : Run format check
You can’t perform that action at this time.
0 commit comments