Skip to content

Commit 3b8bd01

Browse files
authored
Merge pull request #24 from bolding/master
make gsw_mod_check_data.f90 conform with latest
2 parents 5d2271f + e41c452 commit 3b8bd01

2 files changed

Lines changed: 1134 additions & 669 deletions

File tree

.github/workflows/gsw.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Build and test
2+
on: push
3+
jobs:
4+
gfortran:
5+
strategy:
6+
matrix:
7+
version: [9, 10, 11 ] # , 12]
8+
os: [ubuntu-latest]
9+
fail-fast: false
10+
runs-on: ${{ matrix.os }}
11+
steps:
12+
- name: Install compiler
13+
run: |
14+
sudo apt-get update
15+
sudo apt-get install gfortran-${{ matrix.version }} cmake
16+
- name: Clone gsw
17+
uses: actions/checkout@v2
18+
- name: Build and run
19+
run: mkdir build && cmake . -B build -DCMAKE_Fortran_COMPILER=gfortran-${{ matrix.version }} && cmake --build build --target gsw_check_functions.x --target gsw_poly_check.x && ./build/test/gsw_check_functions.x && ./build/test/gsw_poly_check.x

0 commit comments

Comments
 (0)