Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CEPCSW
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Haoyu Shi
CEPCSW
Commits
21fc945c
Unverified
Commit
21fc945c
authored
1 year ago
by
lintao@ihep.ac.cn
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/main.yml
+6
-3
6 additions, 3 deletions
.github/workflows/main.yml
build-k4.sh
+8
-4
8 additions, 4 deletions
build-k4.sh
with
14 additions
and
7 deletions
.github/workflows/main.yml
+
6
−
3
View file @
21fc945c
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
build-k4.sh
+
8
−
4
View file @
21fc945c
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment