Update GHA matrix

This commit is contained in:
Mohammad Nejati
2024-11-26 06:51:29 +00:00
committed by Mohammad Nejati
parent e55670d0d0
commit bb42991e17
3 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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
@ -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/cache@v3.3.1
@ -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

View File

@ -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 ()