Skip to content

Commit

Permalink
Update CI_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gha3mi committed Feb 29, 2024
1 parent 72937fe commit d9a2768
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/CI_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand Down

0 comments on commit d9a2768

Please sign in to comment.