Skip to content

Commit

Permalink
Update CircleCI to use Orb Default Baselibs and BCs
Browse files Browse the repository at this point in the history
This PR updates the CircleCI config to default to using the Baselibs in
the CircleCI orb rather than explicitly specifying the versions. In most
cases, this is the "best" way as a change to the orb can fix this for
projects without the need for a PR.

Note that we keep commented the explicit anchors in case needed.
  • Loading branch information
mathomp4 committed Jul 31, 2023
1 parent 7d31e39 commit adc04e3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: 2.1

# Anchors to prevent forgetting to update a version
baselibs_version: &baselibs_version v7.13.0
bcs_version: &bcs_version v11.00.0
# Anchors in case we need to override the defaults from the orb
#baselibs_version: &baselibs_version v7.14.0
#bcs_version: &bcs_version v11.1.0


orbs:
Expand All @@ -18,7 +18,7 @@ workflows:
matrix:
parameters:
compiler: [ifort, gfortran]
baselibs_version: *baselibs_version
#baselibs_version: *baselibs_version
repo: GEOSgcm
checkout_fixture: true
mepodevelop: true
Expand All @@ -30,7 +30,7 @@ workflows:
matrix:
parameters:
compiler: [gfortran, ifort]
baselibs_version: *baselibs_version
#baselibs_version: *baselibs_version
requires:
- build-GEOSgcm-on-<< matrix.compiler >>
repo: GEOSgcm
Expand All @@ -42,7 +42,7 @@ workflows:
parameters:
compiler: [ifort, gfortran]
fv_precision: ["R4", "R8"]
baselibs_version: *baselibs_version
#baselibs_version: *baselibs_version
repo: GEOSfvdycore
checkout_fixture: true
mepodevelop: false
Expand All @@ -55,7 +55,7 @@ workflows:
parameters:
compiler: [gfortran, ifort]
fv_precision: ["R4", "R8"]
baselibs_version: *baselibs_version
#baselibs_version: *baselibs_version
requires:
- build-GEOSfvdycore-as-<< matrix.fv_precision >>-on-<< matrix.compiler >>
repo: GEOSfvdycore

0 comments on commit adc04e3

Please sign in to comment.