Skip to content
Snippets Groups Projects
Unverified Commit 21fc945c authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn Committed by GitHub
Browse files

Merge pull request #267 from mirguest/master

Handling the CI related to KEYHEP_STACK
parents f519663e 7ba8dc7d
No related branches found
No related tags found
No related merge requests found
...@@ -21,9 +21,12 @@ jobs: ...@@ -21,9 +21,12 @@ jobs:
runs-on: self-hosted runs-on: self-hosted
strategy: strategy:
matrix: matrix:
LCG_RELEASE: [LCG_EXTERNAL, KEY4HEP_STACK] LCG_RELEASE:
# CEPCSW_BLDTOOL: [make, ninja] - LCG_EXTERNAL
CEPCSW_BLDTOOL: [ninja] - KEY4HEP_STACK
CEPCSW_BLDTOOL:
- ninja
# - make
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job
steps: steps:
......
...@@ -20,8 +20,12 @@ function error:() { ...@@ -20,8 +20,12 @@ function error:() {
} }
function check-cepcsw-envvar() { function check-cepcsw-envvar() {
# source /cvmfs/sw.hsf.org/key4hep/setup.sh if [ "${k4_version}" = "nightlies" ]; then
source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
else
source /cvmfs/sw.hsf.org/key4hep/setup.sh -r ${k4_version}
fi
# fix the order of compiler # fix the order of compiler
local ccdir=$(dirname $CC) local ccdir=$(dirname $CC)
export PATH=$ccdir:$PATH export PATH=$ccdir:$PATH
...@@ -113,8 +117,8 @@ function run-install() { ...@@ -113,8 +117,8 @@ function run-install() {
############################################################################## ##############################################################################
# The current default platform # The current default platform
k4_platform=x86_64-linux-gcc11-opt k4_platform=${K4_PLATFORM:-x86_64-linux-gcc11-opt}
k4_version=master k4_version=${K4_VERSION:-2024-03-10} # or nightlies
bldtool=${CEPCSW_BLDTOOL} # make, ninja # set in env var bldtool=${CEPCSW_BLDTOOL} # make, ninja # set in env var
check-cepcsw-envvar || exit -1 check-cepcsw-envvar || exit -1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment