-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (28 loc) · 921 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: CI
on: push
jobs:
make-test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
toolchain:
- { compiler: gcc, version: 13 }
- { compiler: intel, version: 2023.2 }
- { compiler: intel-classic, version: 2021.10 }
- { compiler: nvidia-hpc, version: 23.11 }
include:
- os: macos-latest
toolchain: { compiler: gcc, version: 13 }
- os: macos-13
toolchain: { compiler: intel-classic, version: 2021.10 }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: fortran-lang/setup-fortran@v1
id: setup-fortran
with:
compiler: ${{ matrix.toolchain.compiler }}
version: ${{ matrix.toolchain.version }}
- run: ${{ steps.setup-fortran.outputs.fc }} --version
- run: make test FC=${{ steps.setup-fortran.outputs.fc }}