ci: fix run syntax in fuzz job
This commit is contained in:
parent
dea628276c
commit
a1aaf5f12c
|
@ -53,8 +53,12 @@ hashes_sha1,
|
||||||
override: true
|
override: true
|
||||||
profile: minimal
|
profile: minimal
|
||||||
- name: fuzz
|
- name: fuzz
|
||||||
run: if [[ "${{ matrix.fuzz_target }}" =~ ^bitcoin ]]; then export RUSTFLAGS='--cfg=hashes_fuzz --cfg=secp256k1_fuzz'; fi
|
run: |
|
||||||
run: cd fuzz && ./fuzz.sh "${{ matrix.fuzz_target }}"
|
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 }}
|
- run: echo "${{ matrix.fuzz_target }}" >executed_${{ matrix.fuzz_target }}
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -78,8 +78,12 @@ $(for name in $(listTargetNames); do echo "$name,"; done)
|
||||||
override: true
|
override: true
|
||||||
profile: minimal
|
profile: minimal
|
||||||
- name: fuzz
|
- name: fuzz
|
||||||
run: if [[ "\${{ matrix.fuzz_target }}" =~ ^bitcoin ]]; then export RUSTFLAGS='--cfg=hashes_fuzz --cfg=secp256k1_fuzz'; fi
|
run: |
|
||||||
run: cd fuzz && ./fuzz.sh "\${{ matrix.fuzz_target }}"
|
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 }}
|
- run: echo "\${{ matrix.fuzz_target }}" >executed_\${{ matrix.fuzz_target }}
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue