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
Commits
e85d3980
Commit
e85d3980
authored
4 years ago
by
Whitney Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "Use common_bench"
parent
8b2c9c94
Branches
Branches containing commit
Tags
v0.1.0
Tags containing commit
1 merge request
!4
Resolve "Use common_bench"
Pipeline
#10000
failed
4 years ago
Stage: config
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+34
-24
34 additions, 24 deletions
.gitlab-ci.yml
with
34 additions
and
24 deletions
.gitlab-ci.yml
+
34
−
24
View file @
e85d3980
...
@@ -9,17 +9,22 @@ workflow:
...
@@ -9,17 +9,22 @@ workflow:
-
if
:
'
$CI_COMMIT_TAG'
-
if
:
'
$CI_COMMIT_TAG'
default
:
default
:
before_script
:
-
mkdir -p images && mkdir -p doc/
-
build && cd build && cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j20 && make install && cd ..
artifacts
:
artifacts
:
expire_in
:
72 hours
paths
:
paths
:
-
.local/detector
-
.local/lib
-
.local/bin
-
.local/include
-
.local/share
-
results
-
config
-
images/
-
images/
-
doc/
-
doc/
-
juggler.env
reports
:
reports
:
dotenv
:
juggler.env
dotenv
:
juggler.env
stages
:
stages
:
-
config
-
config
-
build
-
build
...
@@ -28,8 +33,15 @@ stages:
...
@@ -28,8 +33,15 @@ stages:
-
finalize
-
finalize
-
deploy
-
deploy
env
:
common:setup
:
stage
:
config
stage
:
config
script
:
-
git clone https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench.git setup
-
source setup/bin/env.sh && ./setup/bin/install_common.sh
common:detector
:
stage
:
build
needs
:
[
"
common:setup"
]
script
:
script
:
-
|
-
|
export BEAMLINE_CONFIG="ip6"
export BEAMLINE_CONFIG="ip6"
...
@@ -51,32 +63,31 @@ env:
...
@@ -51,32 +63,31 @@ env:
echo "JUGGLER_DETECTOR_VERSION = ${CI_COMMIT_REF_NAME}"
echo "JUGGLER_DETECTOR_VERSION = ${CI_COMMIT_REF_NAME}"
echo "JUGGLER_DETECTOR_VERSION=$CI_COMMIT_REF_NAME" >> juggler.env
echo "JUGGLER_DETECTOR_VERSION=$CI_COMMIT_REF_NAME" >> juggler.env
fi
fi
fi
fi
artifacts
:
-
source .local/bin/env.sh
reports
:
-
mkdir -p build && cd build && cmake ../. -DCMAKE_INSTALL_PREFIX=${LOCAL_PREFIX} && make -j20 && make install && cd ..
dotenv
:
juggler.env
-
mkdir_local_data_link sim_output
-
ls -lrth
compile
:
-
print_env.sh
stage
:
build
needs
:
-
[
"
env"
]
script
:
-
mkdir -p build && cd build && cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j20 && make install && cd ..
-
echo "Build successful."
overlap_check
:
overlap_check
:
stage
:
test
stage
:
test
needs
:
needs
:
-
[
"
com
pile
"
]
-
[
"
com
mon:detector
"
]
script
:
script
:
#- $(exit $(checkOverlaps -c topside.xml | tee doc/overlap_check.out | wc -l ))
-
|
-
checkOverlaps -c eic_ip6.xml | tee doc/overlap_check.out | wc -l
set -o allexport
-
cat doc/overlap_check.out
source juggler.env
allow_failure
:
true
set +o allexport
-
source .local/bin/env.sh
-
mkdir doc
-
ls -lrth
-
checkOverlaps -c eic_ip6.xml
detectors:reference_detector
:
detectors:reference_detector
:
stage
:
deploy
stage
:
deploy
needs
:
[
"
overlap_check"
]
variables
:
variables
:
JUGGLER_DETECTOR
:
"
$JUGGLER_DETECTOR"
JUGGLER_DETECTOR
:
"
$JUGGLER_DETECTOR"
JUGGLER_DETECTOR_VERSION
:
"
$JUGGLER_DETECTOR_VERSION"
JUGGLER_DETECTOR_VERSION
:
"
$JUGGLER_DETECTOR_VERSION"
...
@@ -85,4 +96,3 @@ detectors:reference_detector:
...
@@ -85,4 +96,3 @@ detectors:reference_detector:
trigger
:
trigger
:
project
:
EIC/detectors/reference_detector
project
:
EIC/detectors/reference_detector
strategy
:
depend
strategy
:
depend
needs
:
[
"
env"
]
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