Skip to content

Commit 307de8b

Browse files
authored
Merge pull request #1094 from bedroge/check_missing_ci_right_eb_version
run the `check_missing_installations.sh` script with the EB version from the easystack filename
2 parents 619777e + 4561013 commit 307de8b

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.github/workflows/test-software.eessi.io.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,19 @@ jobs:
6969
# set $EESSI_CPU_FAMILY to the CPU architecture that corresponds to $EESSI_SOFTWARE_SUBDIR_OVERRIDE (part before the first slash),
7070
# to prevent issues with checks in the Easybuild configuration that use this variable
7171
export EESSI_CPU_FAMILY=${EESSI_SOFTWARE_SUBDIR_OVERRIDE%%/*}
72-
module load EasyBuild
73-
which eb
74-
eb --version
7572
export EESSI_PREFIX=/cvmfs/software.eessi.io/versions/${EESSI_VERSION}
7673
export EESSI_OS_TYPE=linux
7774
env | grep ^EESSI | sort
7875
7976
# first check the CPU-only builds for this CPU target
80-
echo "just run check_missing_installations.sh (should use easystacks/software.eessi.io/${EESSI_VERSION}/eessi-${EESSI_VERSION}-*.yml with latest EasyBuild release)"
77+
echo "first run check_missing_installations.sh for CPU-only builds"
8178
for easystack_file in $(EESSI_VERSION=${EESSI_VERSION} .github/workflows/scripts/only_latest_easystacks.sh); do
82-
echo "check missing installations for ${easystack_file}..."
79+
eb_version=$(echo ${easystack_file} | sed 's/.*eb-\([0-9.]*\).*.yml/\1/g')
80+
echo "check missing installations for ${easystack_file} with EasyBuild ${eb_version}..."
81+
module purge
82+
module load EasyBuild/${eb_version}
83+
which eb
84+
eb --version
8385
./check_missing_installations.sh ${easystack_file}
8486
ec=$?
8587
if [[ ${ec} -ne 0 ]]; then echo "missing installations found for ${easystack_file}!" >&2; exit ${ec}; fi
@@ -94,7 +96,12 @@ jobs:
9496
module use ${EESSI_SOFTWARE_PATH}/accel/${accel}/modules/all
9597
echo "checking missing installations for accelerator ${accel} using modulepath: ${MODULEPATH}"
9698
for easystack_file in $(EESSI_VERSION=${EESSI_VERSION} ACCEL_EASYSTACKS=1 .github/workflows/scripts/only_latest_easystacks.sh); do
97-
echo "check missing installations for ${easystack_file}..."
99+
eb_version=$(echo ${easystack_file} | sed 's/.*eb-\([0-9.]*\).*.yml/\1/g')
100+
echo "check missing installations for ${easystack_file} with EasyBuild ${eb_version}..."
101+
module purge
102+
module load EasyBuild/${eb_version}
103+
which eb
104+
eb --version
98105
./check_missing_installations.sh ${easystack_file}
99106
ec=$?
100107
if [[ ${ec} -ne 0 ]]; then echo "missing installations found for ${easystack_file}!" >&2; exit ${ec}; fi

0 commit comments

Comments
 (0)