mirror of
https://github.com/signalapp/libsignal.git
synced 2024-09-20 03:52:17 +02:00
CI: Clean before checking fuzz targets in Rust builds
The fuzz targets are deliberately not considered part of the workspace, so they end up building the dependencies they rely on from scratch.
This commit is contained in:
parent
58f43107ab
commit
26ccb1c42d
6
.github/workflows/build_and_test.yml
vendored
6
.github/workflows/build_and_test.yml
vendored
@ -170,6 +170,12 @@ jobs:
|
||||
# and crates don't generally support arbitrary nightly versions.
|
||||
# See https://github.com/dtolnay/proc-macro2/issues/307 for an example.
|
||||
|
||||
- name: cargo clean (reclaim disk space)
|
||||
# Clean the contents of the target directory to avoid running out of disk space during the
|
||||
# following steps.
|
||||
run: cargo clean
|
||||
if: matrix.version == 'stable'
|
||||
|
||||
- name: Check that the protocol fuzz target still builds
|
||||
run: cargo +${{ matrix.toolchain }} check --all-targets
|
||||
working-directory: rust/protocol/fuzz
|
||||
|
Loading…
Reference in New Issue
Block a user