Skip to content

Commit 044752b

Browse files
committed
CI: replace clang with gnu-14
1 parent 2a9135a commit 044752b

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
build_type: [Release]
3434
name:
3535
- linux gnu-10
36-
- linux clang-12
36+
- linux gnu-14
3737
- linux intel-classic
3838
- macos
3939
# - linux nvhpc-21.9
@@ -46,23 +46,16 @@ jobs:
4646
compiler_cc: gcc-10
4747
compiler_cxx: g++-10
4848
compiler_fc: gfortran-10
49+
python-version: '3.8'
4950
caching: true
5051

51-
- name: linux clang-12
52-
os: ubuntu-20.04
53-
compiler: clang-12
54-
compiler_cc: clang-12
55-
compiler_cxx: clang++-12
56-
compiler_fc: gfortran-10
57-
caching: true
58-
59-
- name: linux clang-12
60-
build_type: Release
61-
os: ubuntu-20.04
62-
compiler: clang-12
63-
compiler_cc: clang-12
64-
compiler_cxx: clang++-12
65-
compiler_fc: gfortran-10
52+
- name: linux gnu-14
53+
os: ubuntu-24.04
54+
compiler: gnu-14
55+
compiler_cc: gcc-14
56+
compiler_cxx: g++-14
57+
compiler_fc: gfortran-14
58+
python-version: '3.11'
6659
caching: true
6760

6861
# Disable due to problematic environment
@@ -81,6 +74,7 @@ jobs:
8174
compiler_cc: icc
8275
compiler_cxx: icpc
8376
compiler_fc: ifort
77+
python-version: '3.8'
8478
caching: true
8579

8680
- name: macos
@@ -90,10 +84,16 @@ jobs:
9084
compiler_cc: ~
9185
compiler_cxx: ~
9286
compiler_fc: gfortran-13
87+
python-version: '3.11'
9388
caching: false
9489

9590
runs-on: ${{ matrix.os }}
9691
steps:
92+
- name: Set up Python ${{ matrix.python-version }}
93+
uses: actions/setup-python@v5
94+
with:
95+
python-version: ${{ matrix.python-version }}
96+
9797
- name: Checkout Repository
9898
uses: actions/checkout@v2
9999

@@ -193,7 +193,7 @@ jobs:
193193
dependency_cmake_options: |
194194
ecmwf/fckit: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTS=OFF -DENABLE_FCKIT_VENV=ON"
195195
ecmwf-ifs/fiat: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTS=OFF"
196-
ecmwf/eccodes: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_MEMFS=ON -DENABLE_JPG=OFF"
196+
ecmwf/eccodes: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_MEMFS=ON -DENABLE_JPG=OFF -DENABLE_PNG=OFF"
197197
ecmwf-ifs/field_api: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTS=OFF -DENABLE_ACC=OFF -DENABLE_SINGLE_PRECISION=OFF"
198198
ecmwf-ifs/loki: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTS=OFF -DPython3_ROOT_DIR=${{ env.LOKI_PYTHON_ROOT_DIR }}
199199
cmake_options: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ${{ matrix.cmake_options }} -DENABLE_MPI=ON -DENABLE_LOKI=ON -DLOKI_MODE=idem-stack"

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.

0 commit comments

Comments
 (0)