Update cobalt from develop #2857
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- develop | |
- feature/** | |
tags: | |
- '**' | |
jobs: | |
b2-posix: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-20.04 | |
- os: ubuntu-22.04 | |
- os: ubuntu-24.04 | |
- os: macos-13 | |
- os: macos-14 | |
- os: macos-15 | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup Boost | |
run: | | |
./bootstrap.sh | |
./b2 -d0 headers | |
- name: Build Boost | |
run: | | |
./b2 -j3 stage | |
- name: Install Boost | |
run: | | |
./b2 -j3 --prefix=$HOME/.local install | |
- name: Test Boost | |
run: | | |
cd status | |
../b2 -j3 quick | |
b2-windows: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: windows-2019 | |
- os: windows-2022 | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup Boost | |
shell: cmd | |
run: | | |
cmd /c bootstrap | |
b2 -d0 headers | |
- name: Build Boost | |
run: | | |
./b2 -j3 stage | |
- name: Install Boost | |
run: | | |
./b2 -j3 install | |
- name: Test Boost | |
run: | | |
cd status | |
../b2 -j3 quick | |
cmake-install-posix: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-20.04 | |
- os: ubuntu-22.04 | |
- os: ubuntu-24.04 | |
- os: macos-13 | |
- os: macos-14 | |
- os: macos-15 | |
runs-on: ${{matrix.os}} | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Configure Boost | |
run: | | |
mkdir __build__ && cd __build__ | |
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=~/.local .. | |
- name: Build Boost | |
run: | | |
cd __build__ | |
cmake --build . -j 3 | |
- name: Install Boost | |
run: | | |
cd __build__ | |
cmake --build . -j 3 --target install | |
cmake-install-windows: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: windows-2019 | |
- os: windows-2022 | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Configure Boost | |
run: | | |
mkdir __build__ && cd __build__ | |
cmake -DBUILD_SHARED_LIBS=ON .. | |
- name: Build Boost | |
run: | | |
cd __build__ | |
cmake --build . -j 3 | |
- name: Install Boost | |
run: | | |
cd __build__ | |
cmake --build . -j 3 --target install | |
cmake-test-posix: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-latest | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Configure Boost | |
run: | | |
mkdir __build__ && cd __build__ | |
cmake -DBUILD_TESTING=ON -DBOOST_EXCLUDE_LIBRARIES="process;geometry" .. | |
- name: Build tests | |
run: | | |
cd __build__ | |
cmake --build . -j 3 --target tests | |
- name: Run tests | |
run: | | |
cd __build__ | |
ctest --output-on-failure --no-tests=error -j 3 | |
cmake-test-posix-quick: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-20.04 | |
- os: ubuntu-22.04 | |
- os: ubuntu-24.04 | |
- os: macos-13 | |
- os: macos-14 | |
- os: macos-15 | |
runs-on: ${{matrix.os}} | |
timeout-minutes: 90 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Configure Boost | |
run: | | |
mkdir __build__ && cd __build__ | |
cmake -DBUILD_TESTING=ON .. | |
- name: Build tests | |
run: | | |
cd __build__ | |
cmake --build . -j 3 --target tests-quick | |
- name: Run tests | |
run: | | |
cd __build__ | |
ctest --output-on-failure --no-tests=error -j 3 -R quick | |
cmake-test-windows-quick: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: windows-2019 | |
- os: windows-2022 | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Configure Boost | |
run: | | |
mkdir __build__ && cd __build__ | |
cmake -DBUILD_TESTING=ON .. | |
- name: Build tests | |
run: | | |
cd __build__ | |
cmake --build . -j 3 --target tests-quick | |
- name: Run tests | |
run: | | |
cd __build__ | |
ctest --output-on-failure --no-tests=error -j 3 -R quick -C Debug |