File tree Expand file tree Collapse file tree 4 files changed +25
-3
lines changed Expand file tree Collapse file tree 4 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 6262 asset_content_type : application/zip
6363
6464
65+ linuxCmake313 :
66+ runs-on : ubuntu-20.04
67+ steps :
68+ - uses : actions/checkout@v2
69+
70+ - name : install netcdf4
71+ run : |
72+ sudo apt update -yq
73+ sudo apt install -yq --no-install-recommends ninja-build gfortran libnetcdff-dev
74+
75+ - name : get CMake 3.13
76+ run : |
77+ curl -L -O https://github.com/Kitware/CMake/releases/download/v3.13.5/cmake-3.13.5-Linux-x86_64.tar.gz
78+ tar xf cmake-3.13.5-Linux-x86_64.tar.gz
79+ echo "${GITHUB_WORKSPACE}/cmake-3.13.5-Linux-x86_64/bin" >> $GITHUB_PATH
80+
81+ - run : cmake -B build
82+ - run : cmake --build build --parallel
83+ - run : ctest --parallel 2 --output-on-failure
84+ working-directory : build
85+
86+
6587
6688 mac :
6789 needs : linux
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13...3.20)
22
33project (nc4fortran
44 LANGUAGES C Fortran
5- VERSION 1.2.0
5+ VERSION 1.2.1
66 DESCRIPTION "thin, light object-oriented NetCDF4 Fortran interface"
77 HOMEPAGE_URL https://github.com/geospace-code/nc4fortran)
88
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.14 )
1+ cmake_minimum_required (VERSION 3.13 )
22project (abi_check LANGUAGES C Fortran)
33
44add_library (addone OBJECT addone.c)
Original file line number Diff line number Diff line change 11project (' nc4fortran' , ' fortran' ,
22 meson_version : ' >=0.52.0' ,
3- version : ' 1.2.0 ' ,
3+ version : ' 1.2.1 ' ,
44 default_options : [' default_library=static' , ' buildtype=release' , ' warning_level=3' ])
55
66# --- find netcdf
You can’t perform that action at this time.
0 commit comments