File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 strategy :
1111 fail-fast : false
1212 matrix :
13- os : [macos-13, ubuntu-22.04, ubuntu-24.04]
13+ os : [macos-13, macos-14, ubuntu-22.04, ubuntu-24.04]
1414 compiler : [ gfortran ]
1515 version : [ 12, 13, 14 ]
1616 extra_flags : [ -ffree-line-length-0 ]
3838 - name : Checkout code
3939 uses : actions/checkout@v4
4040
41- - uses : fortran-lang/setup-fpm@main
42- with :
43- github-token : ${{ secrets.GITHUB_TOKEN }}
44-
4541 - name : Install Dependencies Ubuntu
4642 if : contains(matrix.os, 'ubuntu') && 0
4743 run : |
5248 --slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} \
5349 --slave /usr/bin/gcov gcov /usr/bin/gcov-${GCC_V}
5450
51+ - uses : fortran-lang/setup-fpm@main
52+ if : ${{ matrix.os != 'macos-14' }}
53+ with :
54+ github-token : ${{ secrets.GITHUB_TOKEN }}
55+
56+ - name : Build FPM
57+ if : ${{ matrix.os == 'macos-14' }} # no arm64 fpm distro, build from source
58+ run : |
59+ set -x
60+ curl --retry 5 -LOsS https://github.com/fortran-lang/fpm/releases/download/v0.11.0/fpm-0.11.0.F90
61+ mkdir fpm-temp
62+ gfortran-14 -o fpm-temp/fpm fpm-0.11.0.F90
63+ echo "PATH=`pwd`/fpm-temp:${PATH}" >> "$GITHUB_ENV"
64+
5565 - name : Version info
5666 run : |
5767 set -x
You can’t perform that action at this time.
0 commit comments