Skip to content

Commit eb98d93

Browse files
committed
ci: add example
1 parent bdd3916 commit eb98d93

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/ci_linux.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,12 @@ jobs:
2020
sudo apt install -yq --no-install-recommends gfortran libnetcdff-dev
2121
2222
- run: ctest -S setup.cmake -VV
23+
24+
- name: build examples
25+
run: |
26+
cmake -B Examples/build -S Examples
27+
cmake --build Examples/build
28+
29+
- name: test examples
30+
run: ctest -V
31+
working-directory: Examples/build

.github/workflows/ci_mac.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,12 @@ jobs:
2020
env:
2121
FC: gfortran-9
2222
CC: gcc-9
23+
24+
- name: build examples
25+
run: |
26+
cmake -B Examples/build -S Examples
27+
cmake --build Examples/build
28+
29+
- name: test examples
30+
run: ctest -V
31+
working-directory: Examples/build

0 commit comments

Comments
 (0)