diff --git a/.github/workflows/fuzzing.yml b/.github/workflows/fuzzing.yml index 0c67b0484f..c2cb774d6f 100644 --- a/.github/workflows/fuzzing.yml +++ b/.github/workflows/fuzzing.yml @@ -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: @@ -113,7 +113,7 @@ 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: @@ -121,6 +121,13 @@ jobs: - 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 @@ -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 @@ -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: