Skip to content

Commit 3871730

Browse files
committed
Disable fuzz targets other than starlight and fix CI
1 parent 89e447d commit 3871730

File tree

3 files changed

+9
-570
lines changed

3 files changed

+9
-570
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -166,20 +166,17 @@ jobs:
166166
sudo apt-get install -y protobuf-compiler
167167
- name: Install cargo-fuzz
168168
# Use custom version from github because the latest release is too old
169-
run: cargo install cargo-fuzz --git https://github.com/rust-fuzz/cargo-fuzz --rev a860fd92bc183f1fed45583aa78691b684e80576
169+
run: cargo install cargo-fuzz --git https://github.com/rust-fuzz/cargo-fuzz --rev 65e3279c9602375037cb3aaabd3209c5b746375c
170170
- name: Build
171171
run: |
172172
cd fuzz
173-
SKIP_WASM_BUILD=1 cargo fuzz build fuzz_raw --build-std
174-
strip target/x86_64-unknown-linux-gnu/release/fuzz_raw
175-
SKIP_WASM_BUILD=1 cargo fuzz build fuzz_flashbox_raw --build-std
176-
strip target/x86_64-unknown-linux-gnu/release/fuzz_flashbox_raw
173+
SKIP_WASM_BUILD=1 cargo fuzz build fuzz_starlight --build-std
174+
strip target/x86_64-unknown-linux-gnu/release/fuzz_starlight
177175
cd ..
178176
mkdir binaries
179-
mv fuzz/target/x86_64-unknown-linux-gnu/release/fuzz_raw binaries/
180-
mv fuzz/target/x86_64-unknown-linux-gnu/release/fuzz_flashbox_raw binaries/
177+
mv fuzz/target/x86_64-unknown-linux-gnu/release/fuzz_starlight binaries/
181178
- name: Upload binary
182-
uses: actions/upload-artifact@v3.1.2
179+
uses: actions/upload-artifact@v4
183180
with:
184181
name: binaries
185182
path: binaries
@@ -196,10 +193,11 @@ jobs:
196193
uses: actions/checkout@v3
197194
with:
198195
ref: ${{ needs.set-tags.outputs.git_ref }}
199-
- uses: actions/download-artifact@v3.0.2
196+
- uses: actions/download-artifact@v4
200197
with:
201198
name: binaries
202199
path: build
200+
merge-multiple: true
203201
- name: Prepare
204202
id: prep
205203
run: |

0 commit comments

Comments
 (0)