Skip to content

Commit 7b49461

Browse files
committed
CI: Add GFortran 15 testing on macOS
Linux package not yet available, but lay the groundwork to deploy it later
1 parent 7d3939b commit 7b49461

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/build.yml

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

2121
exclude:
22-
- os: ubuntu-22.04
23-
version: 13 # no package available
24-
- os: ubuntu-22.04
25-
version: 14 # no package available
22+
- os: ubuntu-24.04
23+
version: 15 # no package available (yet?)
2624

2725
include:
26+
- os: ubuntu-22.04
27+
compiler: gfortran
28+
version: 12 # no package available for gfortran 13+
29+
2830
# --- LLVM flang coverage ---
2931

3032
- os: macos-13
@@ -104,15 +106,13 @@ jobs:
104106
- name: Checkout code
105107
uses: actions/checkout@v4
106108

107-
- name: Install Dependencies Ubuntu
108-
if: ${{ contains(matrix.os, 'ubuntu') && matrix.compiler == 'gfortran' && 0 }}
109+
- name: Install Ubuntu Native Dependencies
110+
if: ${{ contains(matrix.os, 'ubuntu') && matrix.container == '' && matrix.compiler == 'gfortran' }}
109111
run: |
110-
sudo apt-get update
111-
sudo apt list -a 'gfortran-*'
112-
sudo apt install -y gfortran-${COMPILER_VERSION} build-essential
113-
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${COMPILER_VERSION} 100 \
114-
--slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${COMPILER_VERSION}
115-
112+
set -x
113+
sudo apt update
114+
# sudo apt list -a 'gfortran-*'
115+
sudo apt install -y build-essential gfortran-${COMPILER_VERSION}
116116
117117
- name: Install Ubuntu Container Dependencies
118118
if: ${{ contains(matrix.os, 'ubuntu') && matrix.container != '' && !contains(matrix.container, 'phhargrove') }}

0 commit comments

Comments
 (0)