name: CI on: push: pull_request: permissions: contents: read jobs: linux: runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: cc: [gcc, clang] env: CC: ${{ matrix.cc }} steps: - uses: actions/checkout@v4 - run: make check WERROR=ON macos: strategy: fail-fast: false matrix: runner: [macos-15, macos-15-intel] runs-on: ${{ matrix.runner }} steps: - uses: actions/checkout@v4 - run: make check mingw: runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: shared: ['OFF', 'ON'] steps: - uses: actions/checkout@v4 - run: sudo apt-get update && sudo apt-get install -y --no-install-recommends gcc-mingw-w64-x86-64 - run: >- cmake -S . -B build -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc -DBUILD_SHARED_LIBS=${{ matrix.shared }} -DXOMBE_WERROR=ON - run: cmake --build build -j4