75
75
match=$(grep "${pattern}" init.out || true)
76
76
test "x${match}" = "x" || (echo "unexpected match found for '${pattern}' in init output" && exit 1)
77
77
78
- pattern="Prepending /cvmfs/software.eessi.io/versions/2023.06 /software/linux/.*/accel/.*/modules/all to \$MODULEPATH"
78
+ pattern="Prepending /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}} /software/linux/.*/accel/.*/modules/all to \$MODULEPATH"
79
79
echo ">>> checking for lack of pattern '${pattern}' in init output..."
80
80
match=$(grep "${pattern}" init.out || true)
81
81
test "x${match}" = "x" || (echo "unexpected match found for '${pattern}' in init output" && exit 1)
@@ -86,19 +86,19 @@ jobs:
86
86
echo ">>> checking for pattern '${pattern}' in init output..."
87
87
grep "${pattern}" init.out || (echo "FAILED 1" || exit 1)
88
88
89
- pattern="Prepending /cvmfs/software.eessi.io/versions/2023.06 /software/linux/.*/accel/.*/modules/all to \$MODULEPATH"
89
+ pattern="Prepending /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}} /software/linux/.*/accel/.*/modules/all to \$MODULEPATH"
90
90
echo ">>> checking for lack of pattern '${pattern}' in init output..."
91
91
match=$(grep "${pattern}" init.out || true)
92
92
test "x${match}" = "x" || (echo "unexpected match found for '${pattern}' in init output" && exit 1)
93
93
94
94
else
95
95
echo ">>> checking for 'accel/nvidia/cc80' in init output..."
96
96
grep "archdetect found supported accelerator for CPU target x86_64/amd/zen2: accel/nvidia/cc80" init.out || (echo "FAILED 2" && exit 1)
97
- grep "Prepending /cvmfs/software.eessi.io/versions/2023.06 /software/linux/x86_64/amd/zen2/accel/nvidia/cc80/modules/all to \$MODULEPATH" init.out || (echo "FAILED 3" && exit 1)
97
+ grep "Prepending /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}} /software/linux/x86_64/amd/zen2/accel/nvidia/cc80/modules/all to \$MODULEPATH" init.out || (echo "FAILED 3" && exit 1)
98
98
fi
99
99
100
100
echo ">>> checking last line of init output..."
101
- tail -1 init.out | grep "Environment set up to use EESSI (2023.06 ), have fun!" || (echo "FAILED, full init utput:" && cat init.out && exit 1)
101
+ tail -1 init.out | grep "Environment set up to use EESSI (${{matrix.EESSI_VERSION}} ), have fun!" || (echo "FAILED, full init utput:" && cat init.out && exit 1)
102
102
103
103
echo "All checks on init output PASSED"
104
104
else
@@ -125,7 +125,7 @@ jobs:
125
125
echo ">>> checking for 'accel/nvidia/cc80' in init output..."
126
126
grep "archdetect found supported accelerator for CPU target x86_64/amd/zen3: accel/nvidia/cc80" init.out || (echo "FAILED 1" && exit 1)
127
127
grep "Using x86_64/amd/zen2 as software subdirectory" init.out || (echo "FAILED 2" && exit 1)
128
- grep "Prepending /cvmfs/software.eessi.io/versions/2023.06 /software/linux/x86_64/amd/zen2/modules/all to \$MODULEPATH" init.out || (echo "FAILED 3" && exit 1)
129
- grep "Prepending /cvmfs/software.eessi.io/versions/2023.06 /software/linux/x86_64/amd/zen3/accel/nvidia/cc80/modules/all to \$MODULEPATH" init.out || (echo "FAILED 4" && exit 1)
128
+ grep "Prepending /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}} /software/linux/x86_64/amd/zen2/modules/all to \$MODULEPATH" init.out || (echo "FAILED 3" && exit 1)
129
+ grep "Prepending /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}} /software/linux/x86_64/amd/zen3/accel/nvidia/cc80/modules/all to \$MODULEPATH" init.out || (echo "FAILED 4" && exit 1)
130
130
131
131
echo "All checks on init output PASSED"
0 commit comments