Skip to content

Commit

Permalink
disable swap for fuzzer builds, now we have a bigger runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekleog-NEAR committed Nov 2, 2023
1 parent 4f2a2d6 commit 4f966dd
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/master_fuzzer_binaries.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Build fuzz targets from master
name: Fuzz Master
on:
push:
branches:
- master

jobs:
build_fuzzers:
name: Build Fuzzers
runs-on: "ubuntu-22.04-16core"

permissions:
Expand All @@ -24,17 +25,6 @@ jobs:
rustup install nightly
rustup default nightly
- name: Set swap to 10G
shell: bash
run: |
export SWAP_FILE=$(swapon --show=NAME | tail -n 1)
sudo swapoff $SWAP_FILE
sudo rm $SWAP_FILE
sudo fallocate -l 10G $SWAP_FILE
sudo chmod 600 $SWAP_FILE
sudo mkswap $SWAP_FILE
sudo swapon $SWAP_FILE
- uses: baptiste0928/cargo-install@21a18ba3bf4a184d1804e8b759930d3471b1c941
with:
crate: cargo-bolero
Expand Down

0 comments on commit 4f966dd

Please sign in to comment.