-
Notifications
You must be signed in to change notification settings - Fork 8
45 lines (39 loc) · 1.04 KB
/
Linux_versions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# This is a CI workflow for the NCEPLIBS-w3emc project.
#
# This workflow builds on Linux with different versions of the
# dependent packages.
#
# Ed Hartnett, 1/8/23
name: Linux_versions
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
Linux_versions:
runs-on: ubuntu-latest
env:
FC: gfortran-11
CC: gcc-11
strategy:
matrix:
bacio-version: [2.4.1, 2.5.0, 2.6.0]
steps:
- name: "Build dependencies"
uses: NOAA-EMC/ci-build-nceplibs@develop
with:
bacio-version: v${{ matrix.bacio-version }}
bufr-version: v12.0.1
- name: checkout-w3emc
uses: actions/checkout@v4
with:
path: w3emc
- name: build-w3emc
run: |
cmake -S w3emc -B w3emc/build -DCMAKE_PREFIX_PATH="$GITHUB_WORKSPACE/nceplibs/NCEPLIBS-bacio;$GITHUB_WORKSPACE/nceplibs/NCEPLIBS-bufr"
cmake --build w3emc/build --parallel 2
- name: test-w3emc
run: ctest --test-dir w3emc/build --output-on-failure --rerun-failed --verbose