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
36 changes: 19 additions & 17 deletions .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,32 @@ on:

jobs:
test:
runs-on: ubuntu-22.04
container: dglaeser/compiler-images:${{ matrix.compiler }}
runs-on: ubuntu-24.04
strategy:
matrix:
compiler: [gcc-14, clang-19-git]
compiler: [gcc-14, clang-18]
include:
- c_compiler: gcc-14
compiler: gcc-14
- cxx_compiler: g++-14
compiler: gcc-14
- c_compiler: clang-18
compiler: clang-18
- cxx_compiler: clang++-18
compiler: clang-18
steps:
- name: checkout-repository
uses: actions/checkout@v2

# install of make can be omitted once the container provides it per default
- name: build-tests
- name: configure
run: |
apt update && apt install make
echo "Using C compiler ${C_COMPILER}"
echo "Using C++ compiler ${CXX_COMPILER}"
cd test
cmake -DCMAKE_C_COMPILER=${C_COMPILER} \
-DCMAKE_CXX_COMPILER=${CXX_COMPILER} \
cmake -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} \
-DCMAKE_CXX_COMPILER=${{ matrix.cxx_compiler }} \
-B build
cmake --build build
cd ..

- name: run-tests
run: |
cd test/build
ctest --output-on-failure
cd ..
- name: build
run: cd test && cmake --build build

- name: test
run: cd test/build && ctest --output-on-failure
Loading