|
25 | 25 | strategy: |
26 | 26 | fail-fast: false |
27 | 27 | matrix: |
28 | | - os: [ macos-14, macos-15, macos-15-intel, macos-26, macos-26-intel, ubuntu-24.04 ] |
| 28 | + os: [ macos-14, macos-15, macos-15-intel, macos-26, macos-26-intel, ubuntu-24.04, ubuntu-26.04-arm ] |
29 | 29 | compiler: [ gfortran ] |
30 | 30 | version: [ 13, 14, 15, 16 ] |
31 | 31 | extra_flags: [ -g -O3 ] |
|
60 | 60 | container: snowstep/llvm:ubuntu-22.04-latest |
61 | 61 |
|
62 | 62 | # https://hub.docker.com/r/phhargrove/llvm-flang/tags |
| 63 | + - os: ubuntu-24.04 |
| 64 | + compiler: flang |
| 65 | + version: 23 |
| 66 | + container: phhargrove/llvm-flang:23.1.0_rc2-latest |
63 | 67 | - os: ubuntu-24.04 |
64 | 68 | compiler: flang |
65 | 69 | version: 22 |
@@ -162,7 +166,7 @@ jobs: |
162 | 166 | sudo apt-get update |
163 | 167 | #sudo apt list -a 'gfortran-*' |
164 | 168 | sudo apt install -y build-essential |
165 | | - if [[ ${COMPILER_VERSION} -lt 15 ]] ; then |
| 169 | + if [[ ${COMPILER_VERSION} -lt 15 ]] || type -p gfortran-${COMPILER_VERSION} ; then |
166 | 170 | sudo apt install -y gfortran-${COMPILER_VERSION} |
167 | 171 | else |
168 | 172 | curl -L https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh -o install-homebrew.sh |
@@ -244,15 +248,16 @@ jobs: |
244 | 248 | fi |
245 | 249 |
|
246 | 250 | - name: Setup FPM |
| 251 | + if: ${{ !(runner.os == 'Linux' && runner.arch == 'ARM64') }} |
247 | 252 | uses: fortran-lang/setup-fpm@main |
248 | 253 | with: |
249 | 254 | github-token: ${{ secrets.GITHUB_TOKEN }} |
250 | 255 | fpm-version: latest |
251 | 256 |
|
252 | 257 | - name: Build FPM |
253 | | - if: false |
| 258 | + if: ${{ runner.os == 'Linux' && runner.arch == 'ARM64' }} |
254 | 259 | run: | |
255 | | - export FPM_VERSION=0.12.0 |
| 260 | + export FPM_VERSION=0.13.0 |
256 | 261 | curl --retry 5 -LOsS https://github.com/fortran-lang/fpm/releases/download/v$FPM_VERSION/fpm-$FPM_VERSION.F90 |
257 | 262 | mkdir fpm-temp |
258 | 263 | gfortran-14 -o fpm-temp/fpm fpm-$FPM_VERSION.F90 |
|
0 commit comments