Skip to content
Snippets Groups Projects
Commit bb5d7848 authored by Nicolas Richart's avatar Nicolas Richart
Browse files

preparing artifacts

parent cb6599e9
No related branches found
No related tags found
No related merge requests found
Pipeline #180568 failed
......@@ -49,6 +49,14 @@ variables:
- spack/
- compiler_definitions.yaml
.stack_prepare_save:
before_script:
- if [ -e stack.tgz ]; then
tar -xvz -f stack.tgz -C /
fi
after_script:
- tar -cvzf stack.tgz /stack
# ------------------------------------------------------------------------------
spack:setup:
stage: environment
......@@ -59,21 +67,26 @@ spack:setup:
- git config --global --add --bool advice.detachedHead false
script:
- ci/setup_spack.sh
after_script:
- !reference [.stack_prepare_save, after_script]
artifacts:
paths:
- stack.tgz
spack:install_compilers:
stage: compilers
extends:
- .spack_cache
- .parallel_job
- .stack_prepare_save
script:
- ci/install_compilers.sh
- spack/bin/spack -e . config blame compilers
artifacts:
reports:
junit: spack-install.xml
paths:
- /stack/**
- stack.tgz
needs:
- job: spack:setup
......@@ -83,6 +96,7 @@ spack:concretize:
extends:
- .spack_cache
- .parallel_job
- .stack_prepare_save
script:
- spack/bin/spack -e . config blame
- spack/bin/spack -e . concretize
......@@ -91,13 +105,14 @@ spack:concretize:
artifacts:
paths:
- spack.lock
- /stack/**
- stack.tgz
spack:install:
stage: install
extends:
- .spack_cache
- .parallel_job
- .stack_prepare_save
script:
- spack/bin/spack -e . install
--log-file spack-install.xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment