| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245 |
- name: CI
- on:
- pull_request:
- push:
- branches:
- - master
- - develop
- - feature/**
- tags:
- - '**'
- jobs:
- b2-posix:
- strategy:
- fail-fast: false
- matrix:
- include:
- - os: ubuntu-22.04
- - os: ubuntu-22.04-arm
- - os: ubuntu-24.04
- - os: ubuntu-24.04-arm
- - os: macos-14
- - os: macos-15
- - os: macos-26
- 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-2022
- - os: windows-2025
- 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-22.04
- - os: ubuntu-22.04-arm
- - os: ubuntu-24.04
- - os: ubuntu-24.04-arm
- - os: macos-14
- - os: macos-15
- - os: macos-26
- 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-2022
- - os: windows-2025
- 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-22.04
- - os: ubuntu-22.04-arm
- - os: ubuntu-24.04
- - os: ubuntu-24.04-arm
- - os: macos-14
- - os: macos-15
- - os: macos-26
- 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-2022
- - os: windows-2025
- 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
|