Merge rust-bitcoin/rust-bitcoin#1842: ci: fix -run syntax
a1aaf5f12c
ci: fix run syntax in fuzz job (Andrew Poelstra) Pull request description: I think our CI failures started with #1821 when we added an extra `run:` line to `fuzz.yml` without prefixing it with `-`. Fix the syntax to use a multi-line `run` instead. ACKs for top commit: tcharding: ACKa1aaf5f12c
Kixunil: ACKa1aaf5f12c
Tree-SHA512: 7214291dc629b6417f8dfaf4a68bfcdc23078a57759717cef92344e1873d475f597fe447e037d15c568a1d5b04ec764ebf8477d18274f52a4b93c50d8a1615f5
This commit is contained in:
commit
4fc6a6a145
|
@ -53,8 +53,12 @@ hashes_sha1,
|
|||
override: true
|
||||
profile: minimal
|
||||
- name: fuzz
|
||||
run: if [[ "${{ matrix.fuzz_target }}" =~ ^bitcoin ]]; then export RUSTFLAGS='--cfg=hashes_fuzz --cfg=secp256k1_fuzz'; fi
|
||||
run: cd fuzz && ./fuzz.sh "${{ matrix.fuzz_target }}"
|
||||
run: |
|
||||
if [[ "${{ matrix.fuzz_target }}" =~ ^bitcoin ]]; then
|
||||
export RUSTFLAGS='--cfg=hashes_fuzz --cfg=secp256k1_fuzz'
|
||||
fi
|
||||
echo "Using RUSTFLAGS $RUSTFLAGS"
|
||||
cd fuzz && ./fuzz.sh "${{ matrix.fuzz_target }}"
|
||||
- run: echo "${{ matrix.fuzz_target }}" >executed_${{ matrix.fuzz_target }}
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
|
|
@ -78,8 +78,12 @@ $(for name in $(listTargetNames); do echo "$name,"; done)
|
|||
override: true
|
||||
profile: minimal
|
||||
- name: fuzz
|
||||
run: if [[ "\${{ matrix.fuzz_target }}" =~ ^bitcoin ]]; then export RUSTFLAGS='--cfg=hashes_fuzz --cfg=secp256k1_fuzz'; fi
|
||||
run: cd fuzz && ./fuzz.sh "\${{ matrix.fuzz_target }}"
|
||||
run: |
|
||||
if [[ "\${{ matrix.fuzz_target }}" =~ ^bitcoin ]]; then
|
||||
export RUSTFLAGS='--cfg=hashes_fuzz --cfg=secp256k1_fuzz'
|
||||
fi
|
||||
echo "Using RUSTFLAGS \$RUSTFLAGS"
|
||||
cd fuzz && ./fuzz.sh "\${{ matrix.fuzz_target }}"
|
||||
- run: echo "\${{ matrix.fuzz_target }}" >executed_\${{ matrix.fuzz_target }}
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue