FIX. remove .gitlab-ci.yml
Some checks failed
QE-GH Merlin7 Scheduler / checkout (push) Successful in 6m42s
QE-GPU Merlin7 Scheduler / checkout (push) Successful in 6m48s
QE-CPU Merlin7 Scheduler / checkout (push) Has been cancelled

This commit is contained in:
2025-05-15 14:35:59 +02:00
parent 373745331e
commit 2b8a4c7dbc

View File

@ -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