Skip to content

Commit

Permalink
Merge pull request #267 from mirguest/master
Browse files Browse the repository at this point in the history
Handling the CI related to KEYHEP_STACK
  • Loading branch information
mirguest authored Mar 13, 2024
2 parents f519663 + 7ba8dc7 commit 21fc945
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@ jobs:
runs-on: self-hosted
strategy:
matrix:
LCG_RELEASE: [LCG_EXTERNAL, KEY4HEP_STACK]
# CEPCSW_BLDTOOL: [make, ninja]
CEPCSW_BLDTOOL: [ninja]
LCG_RELEASE:
- LCG_EXTERNAL
- KEY4HEP_STACK
CEPCSW_BLDTOOL:
- ninja
# - make

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
12 changes: 8 additions & 4 deletions build-k4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ function error:() {
}

function check-cepcsw-envvar() {
# source /cvmfs/sw.hsf.org/key4hep/setup.sh
source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
if [ "${k4_version}" = "nightlies" ]; then
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
local ccdir=$(dirname $CC)
export PATH=$ccdir:$PATH
Expand Down Expand Up @@ -113,8 +117,8 @@ function run-install() {
##############################################################################

# The current default platform
k4_platform=x86_64-linux-gcc11-opt
k4_version=master
k4_platform=${K4_PLATFORM:-x86_64-linux-gcc11-opt}
k4_version=${K4_VERSION:-2024-03-10} # or nightlies
bldtool=${CEPCSW_BLDTOOL} # make, ninja # set in env var

check-cepcsw-envvar || exit -1
Expand Down

0 comments on commit 21fc945

Please sign in to comment.