diff --git a/.github/workflows/CI_test.yml b/.github/workflows/CI_test.yml index 0f039ecb..603be52c 100644 --- a/.github/workflows/CI_test.yml +++ b/.github/workflows/CI_test.yml @@ -9,17 +9,27 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest] + os: [ubuntu-latest, windows-latest, macos-latest] toolchain: - {compiler: gcc} + - {compiler: intel} - {compiler: intel-classic} + - {compiler: nvidia-hpc} exclude: + - os: windows-latest + toolchain: {compiler: nvidia-hpc} + - os: windows-latest + toolchain: {compiler: intel} - os: windows-latest toolchain: {compiler: intel-classic} + - os: macos-latest + toolchain: {compiler: nvidia-hpc} + - os: macos-latest + toolchain: {compiler: intel} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -35,6 +45,10 @@ jobs: compiler: ${{ matrix.toolchain.compiler }} version: ${{ matrix.toolchain.version }} + - name: Install gcc@10 on macos required by fpm + if: contains(matrix.os, 'macos') + run: brew install gcc@10 + - name: Run Tests (Debug) run: fpm test --profile debug --compiler ${{ env.FC}} env: