Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,43 @@ jobs:
working-directory: build
run: ctest --output-on-failure -j 4

clang_in_container:
strategy:
fail-fast: false
matrix:
include:
- version: 20
image: 'ubuntu:25.04'

runs-on: ubuntu-latest
container: ${{ matrix.image }}

steps:
- uses: actions/checkout@v4

- name: Install Clang ${{ matrix.version }}
run: |
export DEBIAN_FRONTEND=noninteractive
apt-get update && apt-get upgrade -y
apt-get install -y clang-${{ matrix.version }} cmake

- name: Configure tests
env:
CXX: clang++-${{ matrix.version }}
run: cmake -S . -B build
-D CMAKE_CXX_COMPILER=clang++-${{ matrix.version }}
-D CMAKE_BUILD_TYPE:STRING=Release
-D ${{ env.PROJECT }}_OPT_SELECT_NONSTD=ON
-D ${{ env.PROJECT }}_OPT_BUILD_TESTS=ON
-D ${{ env.PROJECT }}_OPT_BUILD_EXAMPLES=OFF

- name: Build tests
run: cmake --build build -j 4

- name: Run tests
working-directory: build
run: ctest --output-on-failure -j 4

msvc:
strategy:
fail-fast: false
Expand Down