-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update github tests, remove irrelavent comment
- Loading branch information
1 parent
66e454a
commit d6dc143
Showing
2 changed files
with
27 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,11 @@ jobs: | |
CPPFLAGS: "-I/usr/include -I/usr/local/include" | ||
|
||
# Versions of all dependencies can be updated here | ||
ESMF_VERSION: v8.4.2 | ||
ESMF_VERSION: v8.5.0 | ||
PNETCDF_VERSION: checkpoint.1.12.3 | ||
NETCDF_FORTRAN_VERSION: v4.6.0 | ||
PIO_VERSION: pio2_6_0 | ||
CDEPS_VERSION: cdeps1.0.15 | ||
PIO_VERSION: pio2_6_2 | ||
CDEPS_VERSION: cdeps1.0.21 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
# Build the ESMF library, if the cache contains a previous build | ||
|
@@ -52,23 +52,27 @@ jobs: | |
key: ${{ runner.os }}-${{ env.PIO_VERSION }}.pio | ||
- name: Build ParallelIO | ||
if: steps.cache-ParallelIO.outputs.cache-hit != 'true' | ||
uses: NCAR/ParallelIO/.github/actions/parallelio_cmake@pio2_6_0 | ||
uses: NCAR/ParallelIO/.github/actions/parallelio_cmake@pio2_6_2 | ||
with: | ||
parallelio_version: ${{ env.ParallelIO_VERSION }} | ||
enable_fortran: True | ||
install_prefix: $HOME/pio | ||
- name: Build ESMF | ||
if: steps.cache-esmf.outputs.cache-hit != 'true' | ||
uses: ESCOMP/CDEPS/.github/actions/[email protected] | ||
install_prefix: ${GITHUB_WORKSPACE}/pio | ||
- name: Install ESMF | ||
uses: esmf-org/install-esmf-action@v1 | ||
env: | ||
ESMF_COMPILER: gfortran | ||
ESMF_BOPT: g | ||
ESMF_COMM: openmpi | ||
ESMF_NETCDF: nc-config | ||
ESMF_PNETCDF: pnetcdf-config | ||
ESMF_INSTALL_PREFIX: ${GITHUB_WORKSPACE}/ESMF | ||
ESMF_PIO: external | ||
ESMF_PIO_INCLUDE: ${GITHUB_WORKSPACE}/pio/include | ||
ESMF_PIO_LIBPATH: ${GITHUB_WORKSPACE}/pio/lib | ||
with: | ||
esmf_version: ${{ env.ESMF_VERSION }} | ||
esmf_bopt: g | ||
esmf_comm: openmpi | ||
install_prefix: $HOME/ESMF | ||
netcdf_c_path: /usr | ||
netcdf_fortran_path: /usr | ||
pnetcdf_path: /usr | ||
parallelio_path: $HOME/pio | ||
version: ${{ env.ESMF_VERSION }} | ||
esmpy: false | ||
cache: true | ||
- name: Cache CDEPS | ||
id: cache-cdeps | ||
uses: actions/cache@v3 | ||
|
@@ -84,24 +88,23 @@ jobs: | |
ref: ${{ env.CDEPS_VERSION }} | ||
- name: Build CDEPS | ||
if: steps.cache-cdeps.outputs.cache-hit != 'true' | ||
uses: ESCOMP/CDEPS/.github/actions/[email protected].15 | ||
uses: ESCOMP/CDEPS/.github/actions/[email protected].21 | ||
with: | ||
esmfmkfile: $HOME/ESMF/lib/libg/Linux.gfortran.64.openmpi.default/esmf.mk | ||
pio_path: $HOME/pio | ||
esmfmkfile: $ESMFMKFILE | ||
pio_path: ${GITHUB_WORKSPACE}/pio | ||
src_root: ${GITHUB_WORKSPACE}/cdeps-src | ||
cmake_flags: " -Wno-dev -DCMAKE_BUILD_TYPE=DEBUG -DWERROR=ON -DCMAKE_Fortran_FLAGS=\"-DCPRGNU -g -Wall \ | ||
-ffree-form -ffree-line-length-none -fallow-argument-mismatch \"" | ||
|
||
- name: Build CMEPS | ||
run: | | ||
export ESMFMKFILE=$HOME/ESMF/lib/libg/Linux.gfortran.64.openmpi.default/esmf.mk | ||
export PIO=$HOME/pio | ||
export PIO=${GITHUB_WORKSPACE}/pio | ||
mkdir build-cmeps | ||
pushd build-cmeps | ||
cmake -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_Fortran_FLAGS="-g -Wall -Werror -ffree-form -ffree-line-length-none -Wno-unused-dummy-argument -I /home/runner/work/CMEPS/CMEPS/build-cdeps/share" ../ | ||
make VERBOSE=1 | ||
popd | ||
- name: Setup tmate session | ||
if: ${{ failure() }} | ||
uses: mxschmitt/action-tmate@v3 | ||
# - name: Setup tmate session | ||
# if: ${{ failure() }} | ||
# uses: mxschmitt/action-tmate@v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters