File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,12 @@ jobs:
49
49
run : |
50
50
rustup target add thumbv7m-none-eabi
51
51
sudo apt-get -y install gcc-arm-none-eabi
52
+ sudo apt-get clean
52
53
- name : shellcheck the CI and `contrib` scripts
53
54
if : " matrix.platform == 'ubuntu-latest'"
54
55
run : |
55
56
sudo apt-get -y install shellcheck
57
+ sudo apt-get clean
56
58
shellcheck ci/*.sh -aP ci
57
59
shellcheck contrib/*.sh -aP contrib
58
60
- name : Set RUSTFLAGS to deny warnings
@@ -260,6 +262,7 @@ jobs:
260
262
run : |
261
263
sudo apt-get update
262
264
sudo apt-get -y install build-essential binutils-dev libunwind-dev
265
+ sudo apt-get clean
263
266
- name : Pin the regex dependency
264
267
run : |
265
268
cd fuzz && cargo update -p regex --precise "1.9.6" --verbose
Original file line number Diff line number Diff line change @@ -18,13 +18,14 @@ export RUSTFLAGS="--cfg=secp256k1_fuzz --cfg=hashes_fuzz"
18
18
mkdir -p hfuzz_workspace/full_stack_target/input
19
19
pushd write-seeds
20
20
RUSTFLAGS=" $RUSTFLAGS --cfg=fuzzing" cargo run ../hfuzz_workspace/full_stack_target/input
21
+ cargo clean
21
22
popd
22
23
23
24
cargo install --color always --force honggfuzz --no-default-features
25
+
24
26
# Because we're fuzzing relatively few iterations, the maximum possible
25
- # compiler optimizations aren't necessary, so switch to defaults.
27
+ # compiler optimizations aren't necessary, so we turn off LTO
26
28
sed -i ' s/lto = true//' Cargo.toml
27
- sed -i ' s/codegen-units = 1//' Cargo.toml
28
29
29
30
export HFUZZ_BUILD_ARGS=" --features honggfuzz_fuzz"
30
31
You can’t perform that action at this time.
0 commit comments