-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'alex/fix/gh_ci' into fix/gh_ci
- Loading branch information
Showing
4 changed files
with
53 additions
and
18 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 |
---|---|---|
|
@@ -9,9 +9,9 @@ defaults: | |
|
||
env: | ||
cache_key: gcc | ||
CC: gcc-10 | ||
FC: gfortran-10 | ||
CXX: g++-10 | ||
CC: gcc-13 | ||
FC: gfortran-13 | ||
CXX: g++-13 | ||
|
||
# The jobs are split into: | ||
# 1. a dependency build step (setup), and | ||
|
@@ -34,7 +34,7 @@ jobs: | |
# Cache spack, compiler and dependencies | ||
- name: cache-env | ||
id: cache-env | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
spack | ||
|
@@ -43,19 +43,18 @@ jobs: | |
|
||
# Install dependencies using Spack | ||
- name: install-dependencies-with-spack | ||
if: steps.cache-env.outputs.cache-hit != 'true' | ||
# if: steps.cache-env.outputs.cache-hit != 'true' | ||
run: | | ||
sudo apt-get install cmake | ||
rm -rf spack | ||
git clone -c feature.manyFiles=true https://github.com/JCSDA/spack.git | ||
source spack/share/spack/setup-env.sh | ||
spack env create gsi-env gsi/ci/spack.yaml | ||
spack env create gsi-env gsi/ci/spack_gcc.yaml | ||
spack env activate gsi-env | ||
spack compiler find | ||
sudo apt install cmake | ||
spack external find | ||
spack add [email protected] | ||
spack concretize | ||
spack install -v --fail-fast --dirty | ||
spack install --fail-fast --dirty | ||
spack clean -a | ||
gsi: | ||
|
@@ -70,7 +69,7 @@ jobs: | |
|
||
- name: cache-env | ||
id: cache-env | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
spack | ||
|
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Spack environment file to build GSI dependencies | ||
spack: | ||
packages: | ||
all: | ||
providers: | ||
blas: [openblas] | ||
lapack: [openblas] | ||
mpi: [mpich] | ||
compiler: | ||
- gcc@13 | ||
specs: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
view: true | ||
concretizer: | ||
unify: true |
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 |
---|---|---|
|
@@ -2,11 +2,12 @@ | |
spack: | ||
packages: | ||
all: | ||
providers: | ||
mpi: [intel-oneapi-mpi] | ||
compiler: | ||
- intel | ||
- gcc@10:10 | ||
specs: | ||
- [email protected] | ||
- [email protected] ~blosc build_system=cmake | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
|
@@ -20,6 +21,7 @@ spack: | |
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
view: true | ||
concretizer: | ||
unify: true |