ci: use new fuzzing cfg flags when fuzzing bitcoin (but not hashes)
This commit is contained in:
parent
6649e15193
commit
ab4a48c8ba
|
@ -53,6 +53,7 @@ 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: cd fuzz && ./fuzz.sh "${{ matrix.fuzz_target }}"
|
run: 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
|
||||||
|
|
|
@ -9,7 +9,7 @@ publish = false
|
||||||
cargo-fuzz = true
|
cargo-fuzz = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
honggfuzz = { version = "0.5", default-features = false }
|
honggfuzz = { version = "0.5.55", default-features = false }
|
||||||
bitcoin = { version = "0.30.0", features = [ "serde" ] }
|
bitcoin = { version = "0.30.0", features = [ "serde" ] }
|
||||||
|
|
||||||
serde = { version = "1.0.103", features = [ "derive" ] }
|
serde = { version = "1.0.103", features = [ "derive" ] }
|
||||||
|
|
|
@ -20,7 +20,7 @@ publish = false
|
||||||
cargo-fuzz = true
|
cargo-fuzz = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
honggfuzz = { version = "0.5", default-features = false }
|
honggfuzz = { version = "0.5.55", default-features = false }
|
||||||
bitcoin = { version = "0.30.0", features = [ "serde" ] }
|
bitcoin = { version = "0.30.0", features = [ "serde" ] }
|
||||||
|
|
||||||
serde = { version = "1.0.103", features = [ "derive" ] }
|
serde = { version = "1.0.103", features = [ "derive" ] }
|
||||||
|
@ -78,6 +78,7 @@ $(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: cd fuzz && ./fuzz.sh "\${{ matrix.fuzz_target }}"
|
run: 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
|
||||||
|
|
Loading…
Reference in New Issue