Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ip6
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
EIC
detectors
ip6
Merge requests
!116
Github actions workflow conversion
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Github actions workflow conversion
github-actions-workflows
into
master
Overview
0
Commits
7
Pipelines
6
Changes
2
Merged
Wouter Deconinck
requested to merge
github-actions-workflows
into
master
2 years ago
Overview
0
Commits
7
Pipelines
6
Changes
2
Expand
0
0
Merge request reports
Compare
master
version 5
0c67c54d
2 years ago
version 4
fb6ee881
2 years ago
version 3
c4bde4c4
2 years ago
version 2
977a84dd
2 years ago
version 1
d3da6016
2 years ago
master (base)
and
latest version
latest version
517ffc1a
7 commits,
2 years ago
version 5
0c67c54d
4 commits,
2 years ago
version 4
fb6ee881
4 commits,
2 years ago
version 3
c4bde4c4
3 commits,
2 years ago
version 2
977a84dd
2 commits,
2 years ago
version 1
d3da6016
1 commit,
2 years ago
2 files
+
153
−
26
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
.github/workflows/linux-eic-shell.yml
+
153
−
4
Options
@@ -3,16 +3,165 @@ name: linux-eic-shell
@@ -3,16 +3,165 @@ name: linux-eic-shell
on
:
[
push
,
pull_request
]
on
:
[
push
,
pull_request
]
jobs
:
jobs
:
build-and-check-overlap
:
xmllint
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
-
run
:
|
sudo apt-get update
sudo apt-get install -y libxml2-utils
xmllint *.xml ip6/*.xml > /dev/null
build-test
:
runs-on
:
ubuntu-latest
needs
:
xmllint
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
cvmfs-contrib/github-action-cvmfs@v2
-
uses
:
cvmfs-contrib/github-action-cvmfs@v2
-
uses
:
eic/run-cvmfs-osg-eic-shell@main
-
uses
:
eic/run-cvmfs-osg-eic-shell@main
with
:
with
:
platform-release
:
"
jug_xl:nightly"
platform-release
:
"
jug_xl:nightly"
run
:
|
run
:
|
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=install
PREFIX=install
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=${PREFIX}
cmake --build build -- install
cmake --build build -- install
export LD_LIBRARY_PATH=${PWD}/install/lib:${LD_LIBRARY_PATH}
-
uses
:
actions/upload-artifact@v3
checkOverlaps -c install/share/ip6/eic_ip6.xml
with
:
name
:
install
path
:
install/
if-no-files-found
:
error
convert-to-tgeo
:
runs-on
:
ubuntu-latest
needs
:
build-test
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/download-artifact@v3
with
:
name
:
install
path
:
install/
-
uses
:
cvmfs-contrib/github-action-cvmfs@v2
-
uses
:
eic/run-cvmfs-osg-eic-shell@main
with
:
platform-release
:
"
jug_xl:nightly"
setup
:
install/setup.sh
run
:
|
mkdir -p geo
dd_web_display --output geo/${BEAMLINE}.root ${BEAMLINE_PATH}/${BEAMLINE}.xml
-
uses
:
actions/upload-artifact@v3
with
:
name
:
ip6.root
path
:
geo/
if-no-files-found
:
error
dump-constants
:
runs-on
:
ubuntu-latest
needs
:
build-test
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/download-artifact@v3
with
:
name
:
install
path
:
install/
-
uses
:
cvmfs-contrib/github-action-cvmfs@v2
-
uses
:
eic/run-cvmfs-osg-eic-shell@main
with
:
platform-release
:
"
jug_xl:nightly"
setup
:
install/setup.sh
run
:
|
mkdir -p doc
npdet_info dump ${BEAMLINE_PATH}/${BEAMLINE}.xml | tee doc/constants.out
-
uses
:
actions/upload-artifact@v3
with
:
name
:
constants.out
path
:
doc/constants.out
if-no-files-found
:
error
check-overlap-tgeo
:
runs-on
:
ubuntu-latest
needs
:
build-test
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/download-artifact@v3
with
:
name
:
install
path
:
install/
-
uses
:
cvmfs-contrib/github-action-cvmfs@v2
-
uses
:
eic/run-cvmfs-osg-eic-shell@main
with
:
platform-release
:
"
jug_xl:nightly"
setup
:
install/setup.sh
run
:
|
mkdir -p doc
checkOverlaps -c ${BEAMLINE_PATH}/${BEAMLINE_CONFIG}.xml | tee doc/overlap_check_tgeo.out
noverlaps="$(grep -c ovlp doc/overlap_check_tgeo.out || true)"
if [[ "${noverlaps}" -gt "0" ]] ; then echo "${noverlaps} overlaps found!" && false ; fi
check-overlap-geant4
:
runs-on
:
ubuntu-latest
needs
:
build-test
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/download-artifact@v3
with
:
name
:
install
path
:
install/
-
uses
:
cvmfs-contrib/github-action-cvmfs@v2
-
uses
:
eic/run-cvmfs-osg-eic-shell@main
with
:
platform-release
:
"
jug_xl:nightly"
setup
:
install/setup.sh
run
:
|
mkdir -p doc
python scripts/checkOverlaps.py -c ${BEAMLINE_PATH}/${BEAMLINE_CONFIG}.xml | tee doc/overlap_check_geant4.out
noverlaps="$(grep -c GeomVol1002 doc/overlap_check_geant4.out || true)"
if [[ "${noverlaps}" -gt "0" ]] ; then echo "${noverlaps} overlaps found!" && false ; fi
generate-prim-file
:
runs-on
:
ubuntu-latest
needs
:
build-test
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/download-artifact@v3
with
:
name
:
install
path
:
install/
-
uses
:
cvmfs-contrib/github-action-cvmfs@v2
-
uses
:
eic/run-cvmfs-osg-eic-shell@main
with
:
platform-release
:
"
jug_xl:nightly"
setup
:
install/setup.sh
run
:
|
bin/generate_prim_file -o prim -D -t detector_view -c ip6.xml
-
uses
:
actions/upload-artifact@v3
with
:
name
:
detector_view.prim
path
:
prim/detector_view.prim
if-no-files-found
:
error
retention-days
:
1
dawn-view
:
runs-on
:
ubuntu-latest
needs
:
generate-prim-file
strategy
:
matrix
:
view
:
[
view50
]
fail-fast
:
false
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/download-artifact@v3
with
:
name
:
detector_view.prim
path
:
prim/
-
uses
:
cvmfs-contrib/github-action-cvmfs@v2
-
uses
:
eic/run-cvmfs-osg-eic-shell@main
with
:
platform-release
:
"
jug_xl:nightly"
run
:
|
mkdir -p images
bin/make_dawn_views -i prim/detector_view.prim -t ${{ matrix.view }} -d views/${{ matrix.view }} -D
-
uses
:
actions/upload-artifact@v3
with
:
name
:
${{ matrix.view }}
path
:
images/
if-no-files-found
:
error
Loading