Skip to content

CI: testi both gcc/clang and prevent double-runs #21

CI: testi both gcc/clang and prevent double-runs

CI: testi both gcc/clang and prevent double-runs #21

Workflow file for this run

name: Ubuntu 24.04 CI (GCC 14 & Clang 18)
on: [push, pull_request]
jobs:
ubuntu-build:
runs-on: ubuntu-24.04
strategy:
matrix:
include:
- {cc: gcc-14, cxx: g++-14}
- {cc: clang-18, cxx: clang++-18}
steps:
- uses: actions/checkout@v3
- name: Build with ${{matrix.cxx}}
run: |
cmake -B build -DCMAKE_C_COMPILER=${{matrix.cc}} -DCMAKE_CXX_COMPILER=${{matrix.cxx}}
cmake --build build