diff options
author | Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> | 2021-08-02 09:19:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-02 10:19:35 -0600 |
commit | 413ea10e78bba6fd2517404e4290afcd7b381694 (patch) | |
tree | 23c89944e26de408de4d74f92464f56812d7dad5 /share | |
parent | 71cd303362d64e2716a0b5f0b101a06088232c6f (diff) | |
download | spack-413ea10e78bba6fd2517404e4290afcd7b381694.tar.gz spack-413ea10e78bba6fd2517404e4290afcd7b381694.tar.bz2 spack-413ea10e78bba6fd2517404e4290afcd7b381694.tar.xz spack-413ea10e78bba6fd2517404e4290afcd7b381694.zip |
ci: Add RADIUSS stack to cloud CI (#23922)
Add RADIUSS software stack to gitlab PR testing pipelines
Diffstat (limited to 'share')
-rw-r--r-- | share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml | 37 | ||||
-rw-r--r-- | share/spack/gitlab/cloud_pipelines/stacks/radiuss/spack.yaml | 96 |
2 files changed, 131 insertions, 2 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml index c69df706da..fca0956667 100644 --- a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml +++ b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml @@ -125,7 +125,6 @@ e4s-develop-build: job: e4s-develop-generate strategy: depend - ######################################## # E4S on Power ######################################## @@ -159,7 +158,6 @@ e4s-on-power-develop-build: job: e4s-on-power-develop-generate strategy: depend - ######################################### # Build tests for different build-systems ######################################### @@ -188,3 +186,38 @@ build_systems-develop-build: - artifact: jobs_scratch_dir/cloud-ci-pipeline.yml job: build_systems-develop-generate strategy: depend + +######################################### +# RADIUSS +######################################### +.radiuss: + variables: + SPACK_CI_STACK_NAME: radiuss + +.radiuss-generate: + extends: [ ".radiuss"] + image: { "name": "ghcr.io/scottwittenburg/ecpe4s-ubuntu18.04-runner-x86_64:2021-05-15", "entrypoint": [""] } + +# --------- PRs --------- +radiuss-pr-generate: + extends: [ ".radiuss-generate", ".pr-generate" ] + +radiuss-pr-build: + extends: [ ".radiuss", ".pr-build" ] + trigger: + include: + - artifact: jobs_scratch_dir/cloud-ci-pipeline.yml + job: radiuss-pr-generate + strategy: depend + +# --------- Develop --------- +radiuss-develop-generate: + extends: [ ".radiuss-generate", ".develop-generate" ] + +radiuss-develop-build: + extends: [ ".radiuss", ".develop-build" ] + trigger: + include: + - artifact: jobs_scratch_dir/cloud-ci-pipeline.yml + job: radiuss-develop-generate + strategy: depend diff --git a/share/spack/gitlab/cloud_pipelines/stacks/radiuss/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/radiuss/spack.yaml new file mode 100644 index 0000000000..7508d79779 --- /dev/null +++ b/share/spack/gitlab/cloud_pipelines/stacks/radiuss/spack.yaml @@ -0,0 +1,96 @@ +spack: + concretization: separately + view: false + + config: + concretizer: clingo + install_tree: + root: /home/software/radiuss + padded_length: 512 + projections: + all: '{architecture}/{compiler.name}-{compiler.version}/{name}-{version}-{hash}' + + packages: + all: + target: [x86_64] + + providers: + mpi: [mvapich2] + + definitions: + #- compilers: ['%gcc@8.3.1', '%clang@10.0.0'] + - compilers: ['%gcc@7.5.0'] + + # Note skipping spot since no spack package for it + - radiuss: + #- ascent # ^conduit@0.6.0 + #- axom + - blt + - caliper + #- care + #- chai + - conduit # ^hdf5+shared + - flux-core + #- flux-sched + #- glvis # ^mesa-glu@9.0.0 ^mesa18~llvm + - hypre + - lbann + #- lvarray ^raja~openmp # per Ben Corbett Issue #23192 + - mfem + #- py-hatchet + #- py-maestrowf + #- py-merlin + #- py-shroud + #- raja + #- samrai + - scr + #- sundials + #- umpire ~openmp + #- visit # ^mesa-glu@9.0.0 + - xbraid + - zfp + + mirrors: + mirror: "s3://spack-binaries-develop/radiuss" + + specs: + - matrix: + - [$radiuss] + - [$compilers] + + gitlab-ci: + image: { "name": "ghcr.io/scottwittenburg/ecpe4s-ubuntu18.04-runner-x86_64:2021-05-15", "entrypoint": [""] } + script: + - . "./share/spack/setup-env.sh" + - spack --version + - cd ${SPACK_CONCRETE_ENV_DIR} + - spack env activate --without-view . + - spack config add "config:install_tree:projections:${SPACK_JOB_SPEC_PKG_NAME}:'morepadding/{architecture}/{compiler.name}-{compiler.version}/{name}-{version}-{hash}'" + - spack -d ci rebuild + mappings: + - match: [ascent, axom, sundials, umpire, vtk-h, vtk-m] + runner-attributes: + tags: ["spack", "public", "xlarge", "x86_64"] + - match: ['@:'] + runner-attributes: + tags: ["spack", "public", "large", "x86_64"] + temporary-storage-url-prefix: "s3://spack-binaries-prs/pipeline-storage" + service-job-attributes: + before_script: + - . "./share/spack/setup-env.sh" + - spack --version + - cd share/spack/gitlab/cloud_pipelines/stacks/radiuss + - spack env activate --without-view . + image: { "name": "ghcr.io/scottwittenburg/ecpe4s-ubuntu18.04-runner-x86_64:2021-05-15", "entrypoint": [""] } + #before_script: + # - . "./share/spack/setup-env.sh" + # - spack --version + # - cd share/spack/gitlab/cloud_pipelines/stacks/radiuss + # - spack env activate --without-view . + tags: ["spack", "public", "medium", "x86_64"] + + cdash: + build-group: RADIUSS + url: https://cdash.spack.io + project: Spack Testing + site: Cloud Gitlab Infrastructure |