FIX. remove .gitlab-ci.yml
This commit is contained in:
@ -1,32 +0,0 @@
|
|||||||
stages: [build_test]
|
|
||||||
|
|
||||||
variables:
|
|
||||||
GIT_STRATEGY: clone
|
|
||||||
MAX_JOB_NB: 4
|
|
||||||
SPACK_BRANCH: develop
|
|
||||||
SPACK_PCKG: ffbidx
|
|
||||||
SPACK_PCKG_VERSION: main
|
|
||||||
SPACK_REPO: https://github.com/spack/spack.git
|
|
||||||
|
|
||||||
build_test:
|
|
||||||
tags:
|
|
||||||
- merlin
|
|
||||||
stage: build_test
|
|
||||||
script:
|
|
||||||
- git clone ${SPACK_REPO} -b ${SPACK_BRANCH}
|
|
||||||
- . "./spack/share/spack/setup-env.sh"
|
|
||||||
- source /opt/psi/config/profile.bash
|
|
||||||
- module load git-lfs
|
|
||||||
- spack clean -a # Make sure spack doesn't have any caches left
|
|
||||||
- rm -rf /scratch/${USER}/spack-dev/${SPACK_PCKG} # Remove previous packages
|
|
||||||
- spack uninstall -Ray
|
|
||||||
- SPACK_PCKG_LOWERCASE=$(echo "${SPACK_PCKG,,}")
|
|
||||||
- if [[ "$SPACK_PCKG_LOWERCASE" == "hiqsimulator" ]]; then
|
|
||||||
- SPACK_PCKG_LOWERCASE="py-$SPACK_PCKG_LOWERCASE"
|
|
||||||
- fi
|
|
||||||
- spack env activate --without-view env/$(spack arch -o)/${SPACK_PCKG_LOWERCASE}
|
|
||||||
- spack develop --path /scratch/\$user/spack-dev/${SPACK_PCKG} --force ${SPACK_PCKG_LOWERCASE}@${SPACK_PCKG_VERSION}
|
|
||||||
- spack install -j ${MAX_JOB_NB}
|
|
||||||
- spack load
|
|
||||||
# - JOB_ID=$(sbatch --parsable ../test/run.slurm)
|
|
||||||
# - cat slurm-${JOB_ID}.out
|
|
Reference in New Issue
Block a user