Skip to content

Commit

Permalink
Fix CI test system
Browse files Browse the repository at this point in the history
- Revert to ubuntu-22.04
- Update meson and python versions
  • Loading branch information
TomasTorsvik committed Dec 19, 2024
1 parent 9e4c3e4 commit 32d9344
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ on: [push, pull_request]

env:
# This version of Meson should be available as an EasyBuild on Fram and Betzy
MESON_VERSION: '1.1.1'
MESON_VERSION: '1.4.0'
jobs:
build:
name: Build BLOM on Github provided OS
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] # Testing with macos-latest currently not working
# os: [macos-lates] # Disabled, testing with macos-latest currently not working
# os: [ubuntu-latest] # Disabled, Testing with ubuntu-24.04 currently not working
os: [ubuntu-22.04]
mpi: [true, false]
openmp: ['enabled', 'disabled']
ecosys: [false] # ecosys==true fails with gcc, disable for now but leave placeholder
Expand All @@ -30,6 +32,7 @@ jobs:
- name: Install dependencies - Ubuntu
run: |
sudo apt update
sudo apt upgrade -y
sudo apt install -y libnetcdff-dev mpi-default-dev ninja-build
if: runner.os == 'Linux'

Expand All @@ -42,7 +45,7 @@ jobs:
- name: Setup Python for newer version of Meson
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'

- name: Install Meson
run: python -m pip install meson==${{ env.MESON_VERSION }}
Expand Down

0 comments on commit 32d9344

Please sign in to comment.