File tree 2 files changed +14
-7
lines changed
2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 21
21
runs-on : self-hosted
22
22
strategy :
23
23
matrix :
24
- LCG_RELEASE : [LCG_EXTERNAL, KEY4HEP_STACK]
25
- # CEPCSW_BLDTOOL: [make, ninja]
26
- CEPCSW_BLDTOOL : [ninja]
24
+ LCG_RELEASE :
25
+ - LCG_EXTERNAL
26
+ - KEY4HEP_STACK
27
+ CEPCSW_BLDTOOL :
28
+ - ninja
29
+ # - make
27
30
28
31
# Steps represent a sequence of tasks that will be executed as part of the job
29
32
steps :
Original file line number Diff line number Diff line change @@ -20,8 +20,12 @@ function error:() {
20
20
}
21
21
22
22
function check-cepcsw-envvar() {
23
- # source /cvmfs/sw.hsf.org/key4hep/setup.sh
24
- source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
23
+ if [ " ${k4_version} " = " nightlies" ]; then
24
+ source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
25
+ else
26
+ source /cvmfs/sw.hsf.org/key4hep/setup.sh -r ${k4_version}
27
+ fi
28
+
25
29
# fix the order of compiler
26
30
local ccdir=$( dirname $CC )
27
31
export PATH=$ccdir :$PATH
@@ -113,8 +117,8 @@ function run-install() {
113
117
# #############################################################################
114
118
115
119
# The current default platform
116
- k4_platform=x86_64-linux-gcc11-opt
117
- k4_version=master
120
+ k4_platform=${K4_PLATFORM :- x86_64-linux-gcc11-opt}
121
+ k4_version=${K4_VERSION :- 2024-03-10} # or nightlies
118
122
bldtool=${CEPCSW_BLDTOOL} # make, ninja # set in env var
119
123
120
124
check-cepcsw-envvar || exit -1
You can’t perform that action at this time.
0 commit comments