Skip to content

Commit

Permalink
Enable fuzzing on MacOs
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan-Jowett committed May 24, 2024
1 parent 2868ce4 commit 3210336
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/fuzzing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
matrix:
platform:
- ubuntu-latest
arch:
- x86_64
- macos-latest

runs-on: ${{ matrix.platform }}

Expand All @@ -34,7 +33,7 @@ jobs:

- name: Generate the cache key
id: cache_key
run: echo "VALUE=platform-${{ matrix.platform }}_arch=${{ matrix.arch }}_type=fuzzing" >> $GITHUB_OUTPUT
run: echo "VALUE=platform-${{ matrix.platform }}_type=fuzzing" >> $GITHUB_OUTPUT

- name: Update the cache (ccache)
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
Expand Down Expand Up @@ -62,13 +61,6 @@ jobs:
libboost-filesystem-dev \
libelf-dev
if [[ "${{ matrix.arch }}" == "arm64" ]] ; then
sudo apt install -y \
g++-aarch64-linux-gnu \
gcc-aarch64-linux-gnu \
qemu-user
fi
- name: Build/install libbpf From Source
if: matrix.platform == 'ubuntu-latest'
run: ./.github/scripts/build-libbpf.sh
Expand Down Expand Up @@ -97,7 +89,6 @@ jobs:
-DCMAKE_CXX_COMPILER=clang++ \
-DUBPF_ENABLE_LIBFUZZER=1 \
-DCMAKE_BUILD_TYPE=Debug
${arch_flags}
- name: Build uBPF
run: |
Expand Down

0 comments on commit 3210336

Please sign in to comment.