Skip to content

Commit

Permalink
[CI-spack] add test with stable gt4py (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasjucker authored Jul 6, 2023
1 parent d05edb3 commit 30da9da
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
42 changes: 42 additions & 0 deletions jenkins/spack-PR-stable
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
pipeline {
agent none
stages {
stage('Tests') {
matrix {
agent { label "${NODENAME}" }
axes {
axis {
name 'NODENAME'
values 'daint'
}
}
post {
always {
echo 'Cleaning up workspace'
deleteDir()
}
}
stages {
stage('Clone Repos') {
steps {
sh """
git clone --depth 1 --recurse-submodules --shallow-submodules https://github.com/C2SM/spack-c2sm.git
git clone . local_copy
"""
}
}
stage('Install with gt4py@stable') {
steps {
sh """
. ./spack-c2sm/setup-env.sh
cd local_copy
spack env activate spack/gt4py-stable
spack install -v --test=root
"""
}
}
}
}
}
}
}
11 changes: 11 additions & 0 deletions spack/gt4py-stable/spack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
spack:
specs:
- py-icon4py@main%gcc@9.3.0
- py-gt4py@1.1.2%gcc@9.3.0
view: false
concretizer:
unify: true
develop:
py-icon4py:
spec: py-icon4py@main%gcc@9.3.0
path: ../../

0 comments on commit 30da9da

Please sign in to comment.