diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59f1466..0153a97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,16 +3,20 @@ on: [push, pull_request] jobs: unix: - runs-on: ${{matrix.os}} + runs-on: ${{matrix.platform.os}} strategy: matrix: build: [Debug, Release] - os: [macos-latest, ubuntu-latest] - compiler: [g++, clang++-15] + platform: [ + { os: macos-latest, ccx: g++ }, + { os: macos-latest, ccx: clang++ }, + { os: ubuntu-latest, ccx: g++ } + { os: ubuntu-latest, ccx: clang++-15 } + ] std_version: [17, 20] - name: ${{matrix.os}} ${{matrix.compiler}} ${{matrix.build}} std:${{matrix.std_version}} + name: ${{matrix.platform.os}} ${{matrix.platform.ccx}} ${{matrix.build}} std:${{matrix.std_version}} env: - CXX: ${{ matrix.compiler }} + CXX: ${{ matrix.platform.ccx }} CTEST_OUTPUT_ON_FAILURE: 1 steps: - uses: actions/checkout@v3