Skip to content

Commit 9348605

Browse files
authored
Merge pull request #74 from bonachea/ci-sync
CI improvements sync
2 parents 079b763 + ea97fb9 commit 9348605

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
os: [macos-13, macos-14, macos-15, ubuntu-24.04]
16+
os: [macos-13, macos-14, macos-15, macos-15-intel, ubuntu-24.04]
1717
compiler: [ gfortran ]
1818
version: [ 12, 13, 14, 15 ]
1919
extra_flags: [ -g ]
@@ -29,15 +29,15 @@ jobs:
2929

3030
# --- LLVM flang coverage ---
3131

32-
- os: macos-13
33-
compiler: flang
34-
version: 21
3532
- os: macos-14
3633
compiler: flang
3734
version: 21
3835
- os: macos-15
3936
compiler: flang
4037
version: 21
38+
- os: macos-15-intel
39+
compiler: flang
40+
version: 21
4141

4242
# https://hub.docker.com/r/snowstep/llvm/tags
4343
- os: ubuntu-24.04
@@ -189,14 +189,12 @@ jobs:
189189
190190
- name: Setup FPM
191191
uses: fortran-lang/setup-fpm@main
192-
if: ${{ !contains(matrix.os, 'macos') || matrix.os == 'macos-13' }}
193192
with:
194193
github-token: ${{ secrets.GITHUB_TOKEN }}
195194
fpm-version: latest
196195

197196
- name: Build FPM
198-
# no macos-arm64 fpm distro, build from source
199-
if: ${{ contains(matrix.os, 'macos') && matrix.os != 'macos-13' }}
197+
if: false
200198
run: |
201199
set -x
202200
curl --retry 5 -LOsS https://github.com/fortran-lang/fpm/releases/download/v0.11.0/fpm-0.11.0.F90
@@ -207,12 +205,15 @@ jobs:
207205
- name: Version info
208206
run: |
209207
echo == TOOL VERSIONS ==
210-
echo PATH="$PATH"
211-
set -x
208+
echo Platform version info:
212209
uname -a
213-
if test -r /etc/os-release ; then cat /etc/os-release ; fi
214-
${FPM_FC} --version
215-
fpm --version
210+
if test -r /etc/os-release ; then grep -e NAME -e VERSION /etc/os-release ; fi
211+
if test -x /usr/bin/sw_vers ; then /usr/bin/sw_vers ; fi
212+
echo
213+
echo PATH="$PATH"
214+
for tool in ${FPM_FC} fpm ; do
215+
( echo ; set -x ; w=$(which $tool) ; ls -al $w ; ls -alhL $w ; $tool --version )
216+
done
216217
217218
- name: Build and Test (Assertions OFF)
218219
run: |

0 commit comments

Comments
 (0)