Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jalvesz authored Jan 15, 2024
1 parent cbeff5b commit 3409a34
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
toolchain:
- {compiler: gcc, version: 13, flags: ['-cpp -O3 -march=native -flto']}
- {compiler: intel, version: '2023.2', flags: ['-fpp -O3 -xhost -ipo']}
- {compiler: intel-classic, version: '2021.10', flags: ['-fpp -O3 -xhost -ipo']}
- {compiler: nvidia-hpc, version: '23.11', flags: ['-Mpreprocess -Ofast -Minline']}
- {compiler: gcc, version: 13, flags: ['-cpp -O3 -march=native']}
- {compiler: intel, version: '2023.2', flags: ['-fpp -O3 -xhost']}
- {compiler: intel-classic, version: '2021.10', flags: ['-fpp -O3 -xhost']}
- {compiler: nvidia-hpc, version: '23.11', flags: ['-Mpreprocess -Ofast']}
include:
- os: ubuntu-latest
toolchain: {compiler: gcc, version: 12, flags: ['-cpp -O3 -march=native']}
Expand Down Expand Up @@ -41,6 +41,6 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- run: |
fpm test --compiler ${{ env.FC }} --flag "${{ join(matrix.toolchain.flags, ' ') }}"
fpm test --compiler ${{ env.FC }} --c-compiler ${{ env.CC }} --cxx-compiler ${{ env.CXX }} --flag "${{ join(matrix.toolchain.flags, ' ') }}"
# ${{ env.FC }} ... # environment vars FC, CC, and CXX are set
# ${{ steps.setup-fortran.outputs.fc }} ... # outputs work too

0 comments on commit 3409a34

Please sign in to comment.