forked from ESCOMP/CDEPS
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2aa6bfb
commit 89603d1
Showing
35 changed files
with
2,467 additions
and
388 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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: CDEPS build and cache | ||
description: 'Build the CDEPS library' | ||
inputs: | ||
cdeps_version: | ||
description: 'Tag in the CDEPS repository to use' | ||
default: main | ||
required: False | ||
type: string | ||
pio_path: | ||
description: 'Path to the installed parallelio code root' | ||
default: $HOME/pio | ||
required: False | ||
type: string | ||
esmfmkfile: | ||
description: 'Path to the installed ESMF library mkfile' | ||
default: $HOME/ESMF/lib/libg/Linux.gfortran.64.openmpi.default/esmf.mk | ||
required: False | ||
type: string | ||
src_root: | ||
description: 'Path to cdeps source' | ||
default: $GITHUB_WORKSPACE | ||
required: False | ||
type: string | ||
cmake_flags: | ||
description: 'Extra flags for cmake command' | ||
default: -Wno-dev | ||
required: False | ||
type: string | ||
install_prefix: | ||
description: 'Install path of cdeps' | ||
default: $HOME/cdeps | ||
required: False | ||
type: string | ||
runs: | ||
using: composite | ||
steps: | ||
- id : Build-CDEPS | ||
shell: bash | ||
run: | | ||
mkdir build-cdeps | ||
pushd build-cdeps | ||
export ESMFMKFILE=${{ inputs.esmfmkfile }} | ||
export PIO=${{ inputs.pio_path }} | ||
cmake ${{ inputs.cmake_flags }} ${{ inputs.src_root }} | ||
make VERBOSE=1 | ||
popd |
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
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 |
---|---|---|
|
@@ -31,5 +31,9 @@ | |
*.out | ||
*.app | ||
|
||
# Externals | ||
fox | ||
share/genf90 | ||
|
||
# ignore pycache | ||
__pycache__ |
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
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
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
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
Oops, something went wrong.