-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates for Spack Support, Round 2 (and add CircleCI) (#1)
* Updates for Spack Support, Round 2 Due to insufficient grepping on my part, some remnants of the "not-canonical" CMake still remain. Apparently these were not necessary changes for Spack, but they are changes that unify the CMake style of GEOS to be more like "correct" CMake. In this go-around, it is mainly finding `INC_ESMF` which I apparently forgot to grep for last time (I was focused on NetCDF), and some non-canonical OpenMP calls. See GEOS-ESM/GEOSgcm#387 for the meta-issue. * Add CI
- Loading branch information
Showing
2 changed files
with
36 additions
and
2 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,35 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
circleci-tools: geos-esm/[email protected] | ||
|
||
workflows: | ||
build-test: | ||
jobs: | ||
- build-GEOSgcm: | ||
name: build-GEOSgcm-on-<< matrix.compiler >> | ||
matrix: | ||
parameters: | ||
compiler: [gfortran, ifort] | ||
context: | ||
- docker-hub-creds | ||
|
||
jobs: | ||
build-GEOSgcm: | ||
parameters: | ||
compiler: | ||
type: string | ||
executor: circleci-tools/<< parameters.compiler >> | ||
working_directory: /root/project | ||
steps: | ||
- circleci-tools/checkout_fixture | ||
- circleci-tools/mepoclone | ||
- circleci-tools/mepodevelop | ||
- circleci-tools/checkout_if_exists | ||
- circleci-tools/cmake: | ||
compiler: << parameters.compiler >> | ||
- circleci-tools/buildinstall | ||
- circleci-tools/compress_artifacts | ||
- store_artifacts: | ||
path: /logfiles | ||
|
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