@@ -14,10 +14,11 @@ jobs:
1414 matrix :
1515 EESSI_VERSION :
1616 - ' 2023.06'
17+ - ' 2025.06'
1718 steps :
1819 - name : Check out software-layer repository
1920 uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
20-
21+
2122 - name : Mount EESSI CernVM-FS repository
2223 uses : cvmfs-contrib/github-action-cvmfs@55899ca74cf78ab874bdf47f5a804e47c198743c # v4.0
2324 with :
4243 env | grep LMOD
4344 module purge
4445 unset MODULEPATH
45-
46+
4647 - name : Test for archdetect_cpu functionality with invalid path
4748 run : |
4849 # Initialise Lmod
6970 matrix :
7071 EESSI_VERSION :
7172 - ' 2023.06'
73+ - ' 2025.06'
7274 EESSI_SOFTWARE_SUBDIR_OVERRIDE :
7375 - x86_64/amd/zen3
7476 - x86_64/amd/zen4
8082 steps :
8183 - name : Check out software-layer repository
8284 uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
83-
85+
8486 - name : Mount EESSI CernVM-FS repository
8587 uses : cvmfs-contrib/github-action-cvmfs@55899ca74cf78ab874bdf47f5a804e47c198743c # v4.0
8688 with :
@@ -91,19 +93,19 @@ jobs:
9193 - name : Fix EESSI version in init scripts
9294 run : |
9395 sed -i "s/__EESSI_VERSION_DEFAULT__/${{matrix.EESSI_VERSION}}/g" init/eessi_defaults
94-
96+
9597 - name : Test for expected variables match between Lmod init script and original bash script
9698 run : |
9799 # Initialise Lmod
98100 . /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}/compat/linux/$(uname -m)/usr/share/Lmod/init/bash
99-
101+
100102 # Set our path overrides according to our matrix
101103 export EESSI_SOFTWARE_SUBDIR_OVERRIDE=${{matrix.EESSI_SOFTWARE_SUBDIR_OVERRIDE}}
102104 export EESSI_ACCELERATOR_TARGET_OVERRIDE=${{matrix.EESSI_ACCELERATOR_TARGET_OVERRIDE}}
103-
105+
104106 moduleoutfile="moduleout.txt"
105107 sourceoutfile="sourceout.txt"
106-
108+
107109 # First do (and undo) the Lmod initialisation
108110 export MODULEPATH=init/modules
109111 # Turn on debug output in case we want to take a look
@@ -115,7 +117,7 @@ jobs:
115117 # Store all relevant environment variables
116118 env | grep -E '(^EESSI_|^LMOD_RC|^LMOD_PACKAGE_PATH|^MODULEPATH)' | grep -v EESSI_ARCHDETECT_OPTIONS | sort > "${moduleoutfile}"
117119 module unload EESSI/${{matrix.EESSI_VERSION}}
118-
120+
119121 # We should only have two EESSI_* variables defined (which set the overrides)
120122 if [ "$(env | grep -c '^EESSI')" -ne 2 ]; then
121123 echo "Expected 2 EESSI-related environment variables, but found a different number."
@@ -129,7 +131,7 @@ jobs:
129131 unset EESSI_USE_ARCHSPEC
130132 unset EESSI_USE_ARCHDETECT
131133 env | grep -E '(^EESSI_|^LMOD_RC|^LMOD_PACKAGE_PATH|^MODULEPATH)' | sort > "${sourceoutfile}"
132-
134+
133135 # Now compare the two results
134136 echo ""
135137 echo "Lmod initialisation:"
@@ -141,9 +143,9 @@ jobs:
141143 echo ""
142144 if (diff "${moduleoutfile}" "${sourceoutfile}" > /dev/null); then
143145 echo "Test for checking env variables PASSED"
144- else
146+ else
145147 echo "Test for checking env variables FAILED" >&2
146- diff --unified=0 "${moduleoutfile}" "${sourceoutfile}"
148+ diff --unified=0 "${moduleoutfile}" "${sourceoutfile}"
147149 exit 1
148150 fi
149151
@@ -154,6 +156,7 @@ jobs:
154156 matrix :
155157 EESSI_VERSION :
156158 - ' 2023.06'
159+ # - '2025.06'
157160 EESSI_SOFTWARE_SUBDIR_OVERRIDE :
158161 - none
159162 - x86_64/amd/zen2
@@ -172,19 +175,19 @@ jobs:
172175 steps :
173176 - name : Check out software-layer repository
174177 uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
175-
178+
176179 - name : Mount EESSI CernVM-FS repository
177180 uses : cvmfs-contrib/github-action-cvmfs@55899ca74cf78ab874bdf47f5a804e47c198743c # v4.0
178181 with :
179182 cvmfs_config_package : https://github.com/EESSI/filesystem-layer/releases/download/latest/cvmfs-config-eessi_latest_all.deb
180183 cvmfs_http_proxy : DIRECT
181184 cvmfs_repositories : software.eessi.io
182-
185+
183186 - name : Test for identical environment after loading and unloading the EESSI module
184187 run : |
185188 # Initialise Lmod
186189 . /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}/compat/linux/$(uname -m)/usr/share/Lmod/init/bash
187-
190+
188191 # Set our cpu path overrides according to our matrix
189192 if [[ "${{matrix.EESSI_SOFTWARE_SUBDIR_OVERRIDE}}" != "none" ]]; then
190193 export EESSI_SOFTWARE_SUBDIR_OVERRIDE=${{matrix.EESSI_SOFTWARE_SUBDIR_OVERRIDE}}
@@ -201,7 +204,7 @@ jobs:
201204
202205 initial_env_file="initial_env.txt"
203206 module_cycled_file="load_unload_cycle.txt"
204-
207+
205208 # prepare Lmod, resetting it in a roundabout way given we don't want defaults set
206209 export MODULEPATH=init/modules:.github/workflows/modules
207210 module load fake_module
@@ -217,13 +220,13 @@ jobs:
217220 module load EESSI/${{matrix.EESSI_VERSION}}
218221 module unload EESSI/${{matrix.EESSI_VERSION}}
219222 env | grep -v _ModuleTable | sort > "${module_cycled_file}"
220-
223+
221224 # Now compare the two results (do not expose the files, as they contain the full environment!)
222225 if (diff "${initial_env_file}" "${module_cycled_file}" > /dev/null); then
223226 echo "Test for checking env variables PASSED"
224- else
227+ else
225228 echo "Test for checking env variables FAILED" >&2
226- diff --unified=0 "${initial_env_file}" "${module_cycled_file}"
229+ diff --unified=0 "${initial_env_file}" "${module_cycled_file}"
227230 exit 1
228231 fi
229232
@@ -245,27 +248,27 @@ jobs:
245248 steps :
246249 - name : Check out software-layer repository
247250 uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
248-
251+
249252 - name : Mount EESSI CernVM-FS repository
250253 uses : cvmfs-contrib/github-action-cvmfs@55899ca74cf78ab874bdf47f5a804e47c198743c # v4.0
251254 with :
252255 cvmfs_config_package : https://github.com/EESSI/filesystem-layer/releases/download/latest/cvmfs-config-eessi_latest_all.deb
253256 cvmfs_http_proxy : DIRECT
254257 cvmfs_repositories : software.eessi.io
255-
258+
256259 - name : Make sure we have a sticky EESSI module
257260 run : |
258261 # Initialise Lmod
259262 . /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}/compat/linux/$(uname -m)/usr/share/Lmod/init/bash
260-
263+
261264 # Make sure we are using the module file from the repository
262265 export MODULEPATH=init/modules
263-
266+
264267 # Set the relevant environment variable and load the EESSI module
265268 export EESSI_MODULE_STICKY=1
266269 module load "EESSI/${{matrix.EESSI_VERSION}}"
267270 module list |& grep "EESSI/${{matrix.EESSI_VERSION}}"
268-
271+
269272 # Purge and check the module is still loaded
270273 module purge
271274 module list |& grep "EESSI/${{matrix.EESSI_VERSION}}"
0 commit comments