mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
Update GHA matrix
This commit is contained in:
committed by
Mohammad Nejati
parent
e55670d0d0
commit
bb42991e17
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -80,6 +80,11 @@ jobs:
|
|||||||
os: ubuntu-24.04
|
os: ubuntu-24.04
|
||||||
install: g++-13
|
install: g++-13
|
||||||
supported: true
|
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
|
# clang 3.5 not supported
|
||||||
# It can't compile the websocket stream code
|
# It can't compile the websocket stream code
|
||||||
- toolset: clang
|
- toolset: clang
|
||||||
|
9
.github/workflows/fuzz.yml
vendored
9
.github/workflows/fuzz.yml
vendored
@ -11,7 +11,6 @@ concurrency:
|
|||||||
group: ${{format('{0}:{1}:{2}', github.repository, github.workflow, github.ref)}}
|
group: ${{format('{0}:{1}:{2}', github.repository, github.workflow, github.ref)}}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
fuzz:
|
fuzz:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
@ -41,9 +40,7 @@ jobs:
|
|||||||
cd boost-root
|
cd boost-root
|
||||||
cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
|
cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
|
||||||
git submodule update --init tools/boostdep
|
git submodule update --init tools/boostdep
|
||||||
python3 tools/boostdep/depinst/depinst.py $LIBRARY
|
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" $LIBRARY
|
||||||
./bootstrap.sh
|
|
||||||
./b2
|
|
||||||
|
|
||||||
- name: Fuzz corpus
|
- name: Fuzz corpus
|
||||||
uses: actions/cache@v3.3.1
|
uses: actions/cache@v3.3.1
|
||||||
@ -58,13 +55,11 @@ jobs:
|
|||||||
- name: Run fuzzer
|
- name: Run fuzzer
|
||||||
run: |
|
run: |
|
||||||
cd ../boost-root/libs/beast
|
cd ../boost-root/libs/beast
|
||||||
mkdir build
|
mkdir __build__ && cd __build__
|
||||||
cd build
|
|
||||||
cmake \
|
cmake \
|
||||||
-DCMAKE_CXX_COMPILER=clang++ \
|
-DCMAKE_CXX_COMPILER=clang++ \
|
||||||
-DCMAKE_C_COMPILER=clang \
|
-DCMAKE_C_COMPILER=clang \
|
||||||
-DBOOST_BEAST_BUILD_EXAMPLES=OFF \
|
-DBOOST_BEAST_BUILD_EXAMPLES=OFF \
|
||||||
-DBOOST_BEAST_BUILD_TESTS=ON \
|
|
||||||
-DBOOST_BEAST_BUILD_FUZZERS=ON \
|
-DBOOST_BEAST_BUILD_FUZZERS=ON \
|
||||||
-DBOOST_BEAST_FUZZER_CORPUS_PATH=${{ github.workspace }}/corpus.tar ..
|
-DBOOST_BEAST_FUZZER_CORPUS_PATH=${{ github.workspace }}/corpus.tar ..
|
||||||
make boost_beast_fuzz_all
|
make boost_beast_fuzz_all
|
||||||
|
@ -86,6 +86,6 @@ add_subdirectory(bench)
|
|||||||
add_subdirectory(doc)
|
add_subdirectory(doc)
|
||||||
add_subdirectory(example)
|
add_subdirectory(example)
|
||||||
|
|
||||||
if (BOOST_BEAST_BUILD_FUZZERS AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
if (BOOST_BEAST_BUILD_FUZZERS)
|
||||||
add_subdirectory(fuzz)
|
add_subdirectory(fuzz)
|
||||||
endif ()
|
endif ()
|
||||||
|
Reference in New Issue
Block a user