Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .github/workflows/fuzzing.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Fuzzing

# spell-checker:ignore (people) taiki-e
# spell-checker:ignore (people) bamf taiki-e
# spell-checker:ignore (misc) fuzzer PIPESTATUS

env:
Expand Down Expand Up @@ -113,14 +113,21 @@ jobs:
name: Build and test uufuzz examples
needs: detect
if: needs.detect.outputs.all == 'true'
runs-on: ubuntu-latest
runs-on: ubuntu-26.04 # Use GNU linked against newer glibc which enables some feature e.g. stty 51, and fuzz against it
steps:
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- uses: Swatinem/rust-cache@v2
with:
workspaces: "fuzz -> target"
- name: Update GNU coreutils
run: |
sudo add-apt-repository -y ppa:bamf0/coreutils-reference
sudo apt-get update
apt-cache policy gnu-coreutils
sudo apt-get install -y gnu-coreutils=9.12-0ubuntu1~ppa1 coreutils-from-gnu coreutils-from-uutils- --allow-remove-essential
stty --version | grep 9.12
- name: Build uufuzz library
run: |
cd fuzz/uufuzz
Expand Down Expand Up @@ -171,7 +178,7 @@ jobs:
name: Fuzz (${{ matrix.target.name }})
needs: detect
if: needs.detect.outputs.targets != '[]'
runs-on: ubuntu-latest
runs-on: ubuntu-26.04 # Use GNU linked against newer glibc which enables some feature e.g. stty 51, and fuzz against it
timeout-minutes: 15
env:
RUN_FOR: 60
Expand All @@ -186,6 +193,12 @@ jobs:
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- name: Update GNU coreutils
run: |
sudo add-apt-repository -y ppa:bamf0/coreutils-reference
sudo apt-get update
sudo apt-get install -y gnu-coreutils=9.12-0ubuntu1~ppa1 coreutils-from-gnu coreutils-from-uutils- --allow-remove-essential
stty --version
- name: Install `cargo-fuzz`
uses: taiki-e/install-action@v2
with:
Expand Down
Loading