Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI test system #456

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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