Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
c84e6c2e
Commit
c84e6c2e
authored
5 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
ci.Dev
parent
855142ca
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/scripts/compile_and_test.sh
+5
-1
5 additions, 1 deletion
.github/scripts/compile_and_test.sh
.github/workflows/linux.yml
+35
-0
35 additions, 0 deletions
.github/workflows/linux.yml
with
40 additions
and
1 deletion
.github/scripts/compile_and_test.sh
+
5
−
1
View file @
c84e6c2e
#!/bin/bash
source
/cvmfs/sft.cern.ch/lcg/views/
${
VIEW
}
/setup.sh
if
[[
"
${
VIEW
}
"
=
~
"dev"
]]
;
then
source
/cvmfs/sft-nightlies.cern.ch/lcg/views/
${
VIEW
}
/setup.sh
else
source
/cvmfs/sft.cern.ch/lcg/views/
${
VIEW
}
/setup.sh
fi
cd
/Package
mkdir
build
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/linux.yml
+
35
−
0
View file @
c84e6c2e
...
...
@@ -139,3 +139,38 @@ jobs:
-
name
:
Compile and test
run
:
|
docker exec CI_container /bin/bash -c "./Package/.github/scripts/compile_and_test.sh"
dev
:
runs-on
:
ubuntu-18.04
strategy
:
fail-fast
:
false
matrix
:
LCG
:
[
"
dev3/latest/x86_64-centos7-gcc9-opt"
,
"
dev4/latest/x86_64-centos7-gcc9-opt"
]
env
:
SHARED
:
ON
STANDARD
:
17
TBB
:
OFF
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Install CVMFS
run
:
|
wget --no-check-certificate https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest_all.deb
sudo dpkg -i cvmfs-release-latest_all.deb
sudo apt-get update
sudo apt-get install cvmfs cvmfs-config-default
wget --no-check-certificate https://lcd-data.web.cern.ch/lcd-data/CernVM/default.local
sudo mkdir -p /etc/cvmfs
sudo mv default.local /etc/cvmfs/default.local
sudo cvmfs_config setup
ls /cvmfs/sft.cern.ch
ls /cvmfs/geant4.cern.ch
ls /cvmfs/sft-nightlies.cern.ch
-
name
:
Start container
run
:
|
ls
docker run -it --name CI_container -v /home/runner/work/DD4hep/DD4hep:/Package -e VIEW=${{ matrix.LCG }} -e SHARED=${SHARED} -e STANDARD=${STANDARD} -e TBB=${TBB} -v /cvmfs/sft.cern.ch:/cvmfs/sft.cern.ch -v /cvmfs/geant4.cern.ch:/cvmfs/geant4.cern.ch -v /cvmfs/sft-nightlies.cern.ch:/cvmfs/sft-nightlies.cern.ch -d ghcr.io/aidasoft/centos7:latest /bin/bash
-
name
:
Compile and test
run
:
|
docker exec CI_container /bin/bash -c "./Package/.github/scripts/compile_and_test.sh"
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