Skip to content

Commit

Permalink
Update GHA matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ashtum committed Nov 26, 2024
1 parent e55670d commit bb42991
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ jobs:
os: ubuntu-24.04
install: g++-13
supported: true
- toolset: gcc-14
cxxstd: "11,14,17,20,2b"
os: ubuntu-24.04
install: g++-14
supported: true
# clang 3.5 not supported
# It can't compile the websocket stream code
- toolset: clang
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ concurrency:
group: ${{format('{0}:{1}:{2}', github.repository, github.workflow, github.ref)}}
cancel-in-progress: true


jobs:
fuzz:
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -41,9 +40,7 @@ jobs:
cd boost-root
cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
git submodule update --init tools/boostdep
python3 tools/boostdep/depinst/depinst.py $LIBRARY
./bootstrap.sh
./b2
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" $LIBRARY
- name: Fuzz corpus
uses: actions/[email protected]
Expand All @@ -58,13 +55,11 @@ jobs:
- name: Run fuzzer
run: |
cd ../boost-root/libs/beast
mkdir build
cd build
mkdir __build__ && cd __build__
cmake \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_C_COMPILER=clang \
-DBOOST_BEAST_BUILD_EXAMPLES=OFF \
-DBOOST_BEAST_BUILD_TESTS=ON \
-DBOOST_BEAST_BUILD_FUZZERS=ON \
-DBOOST_BEAST_FUZZER_CORPUS_PATH=${{ github.workspace }}/corpus.tar ..
make boost_beast_fuzz_all
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ add_subdirectory(bench)
add_subdirectory(doc)
add_subdirectory(example)

if (BOOST_BEAST_BUILD_FUZZERS AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
if (BOOST_BEAST_BUILD_FUZZERS)
add_subdirectory(fuzz)
endif ()

0 comments on commit bb42991

Please sign in to comment.