Skip to content

Commit

Permalink
ci: install needed prereqs
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jul 22, 2024
1 parent 2249f2b commit 093e4a2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
CMAKE_BUILD_PARALLEL_LEVEL: 4
CTEST_PARALLEL_LEVEL: 0
CTEST_NO_TESTS_ACTION: error
CMAKE_INSTALL_PREFIX: ~/libs
CMAKE_PREFIX_PATH: ~/libs

Expand All @@ -26,11 +27,11 @@ jobs:
timeout-minutes: 15

env:
FC: gfortran-13
FC: gfortran-14

strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-24.04, macos-latest]
shared: [true, false]

steps:
Expand All @@ -42,7 +43,7 @@ jobs:

- name: install NetCDF system libs
if: runner.os == 'macOS'
run: brew install ninja netcdf
run: brew install ninja netcdf-fortran

- run: >-
cmake
Expand Down Expand Up @@ -77,11 +78,11 @@ jobs:
timeout-minutes: 15

env:
FC: gfortran-13
FC: gfortran-14

strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-24.04, macos-latest]

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
env:
CMAKE_BUILD_PARALLEL_LEVEL: 4
CTEST_PARALLEL_LEVEL: 0
CTEST_NO_TESTS_ACTION: error


jobs:
Expand All @@ -29,7 +30,7 @@ jobs:
update: true
install: >-
mingw-w64-x86_64-gcc-fortran
mingw-w64-x86_64-hdf5
mingw-w64-x86_64-netcdf-fortran
- name: Put MSYS2_MinGW64 on PATH
run: echo "${{ runner.temp }}/msys64/mingw64/bin/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
Expand Down

0 comments on commit 093e4a2

Please sign in to comment.