ci: fix run syntax in fuzz job
This commit is contained in:
parent
dea628276c
commit
a1aaf5f12c
|
@ -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