File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -34,21 +34,24 @@ jobs:
3434 submodules : recursive
3535
3636 - name : Setup Fortran Package Manager (fpm)
37+ if : matrix.os != 'macos-latest'
3738 uses : fortran-lang/setup-fpm@v7
3839 with :
3940 github-token : ${{ secrets.GITHUB_TOKEN }}
4041
42+ - name : Install fpm on macOS
43+ if : matrix.os == 'macos-latest'
44+ run : |
45+ brew tap fortran-lang/homebrew-fortran
46+ brew install fpm
47+
4148 - name : Setup Fortran Compiler
4249 uses : fortran-lang/setup-fortran@main
4350 id : setup-fortran
4451 with :
4552 compiler : ${{ matrix.toolchain.compiler }}
4653 version : ${{ matrix.toolchain.version }}
4754
48- - name : Install gcc@10 on macos required by fpm
49- if : contains(matrix.os, 'macos')
50- run : brew install gcc@10
51-
5255 - name : Run test (Debug)
5356 run : fpm test --profile debug --flag '-fopenmp -DUSE_OMP' --compiler ${{ env.FC}}
5457 env :
You can’t perform that action at this time.
0 commit comments