diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae6ea9d0561ce4e70d8e6cb63c1bae8248f17b2e..588179059cf34c6e5ad6f07f8aa77215d0d9520b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -180,6 +180,7 @@ build-spack-env-on-runner: - spack env activate $SPACK_DEV_ENV # TODO: run all tests when test dependency issue is fixed # - spack test run -x wf-brainscales2-demos wf-multi-area-model + - spack test run -x wf-brainscales2-demos after_script: - mkdir -p $CI_PROJECT_DIR/spack_logs/installed $CI_PROJECT_DIR/spack_logs/not_installed # for succesfully installed packages: keep the spack logs for any package modified during this CI job @@ -187,11 +188,11 @@ build-spack-env-on-runner: - if cd $PKG_DIR; then find . \( -name ".spack" -o -name ".build" \) -exec cp -r --parents "{}" $CI_PROJECT_DIR/spack_logs/installed \;; fi # for not succesfully installed packages: also keep the spack logs for any packages that failed - if cd /tmp/$(whoami)/spack-stage/; then find . -maxdepth 2 \( -name "*.txt" -o -name ".install_time_tests" \) -exec cp -r --parents "{}" $CI_PROJECT_DIR/spack_logs/not_installed \;; fi - # - if [ -d /tmp/spack_tests ]; then mv /tmp/spack_tests $CI_PROJECT_DIR; fi + - if [ -d /tmp/spack_tests ]; then mv /tmp/spack_tests $CI_PROJECT_DIR; fi artifacts: paths: - spack_logs - # - spack_tests + - spack_tests when: always timeout: 2 days rules: