diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 399cb68fbee3c2fdda2fdc17a13e4d27f2e7710d..c11ac3397247a0a4a0510325caf364c51fbf6336 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,8 +30,8 @@ default: stages: - config - - initialize - build + - test - docs - test - collect @@ -59,8 +59,9 @@ common:setup: - source setup/bin/env.sh && ./setup/bin/install_common.sh common:detector: - stage: initialize - needs: ["common:setup"] + stage: build + needs: + - common:setup script: - source .local/bin/env.sh && build_detector.sh - mkdir_local_data_link sim_output @@ -70,10 +71,8 @@ common:detector: - mkdir -p geo - print_env.sh -compile: +build:simple: stage: build - needs: - - ["common:detector"] script: - mkdir -p build && cd build && cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j20 && make install && cd .. - echo "Build successful." @@ -239,26 +238,6 @@ benchmarks:detector: trigger: project: EIC/benchmarks/detector_benchmarks strategy: depend - needs: ["overlap_check_tgeo","report"] - - #benchmarks:reconstruction: - # stage: deploy - # variables: - # JUGGLER_DETECTOR: "$JUGGLER_DETECTOR" - # JUGGLER_DETECTOR_VERSION: "$JUGGLER_DETECTOR_VERSION" - # trigger: - # project: EIC/benchmarks/reconstruction_benchmarks - # strategy: depend - # needs: ["env","overlap_check_tgeo","overlap_check_geant4","report"] - # - # - #benchmarks:physics: - # stage: deploy - # variables: - # JUGGLER_DETECTOR: "$JUGGLER_DETECTOR" - # JUGGLER_DETECTOR_VERSION: "$JUGGLER_DETECTOR_VERSION" - # trigger: - # project: EIC/benchmarks/physics_benchmarks - # strategy: depend - # needs: ["env","overlap_check_tgeo","overlap_check_geant4","report"] - + needs: + - overlap_check_tgeo + - common:detector diff --git a/views/view1.yml b/views/view1.yml index 9856f143af227889f63909ec3cf216b308d48aee..cbcdedd7cad40c6f07e909d6916079411247f1f8 100644 --- a/views/view1.yml +++ b/views/view1.yml @@ -16,7 +16,7 @@ dawn_view_01:ev002: - ./bin/make_dawn_views -t view01_ev002 -d scripts/view1 -s 2 view_01: - stage: test + stage: collect rules: - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' needs: diff --git a/views/view11.yml b/views/view11.yml index 9b3b384fc458c00a9cd21e0f65877c1fe5875bd6..ca6905bace5484fb616b16905a5ef2972453e167 100644 --- a/views/view11.yml +++ b/views/view11.yml @@ -34,12 +34,10 @@ dawn_view_11:ev004: - ./bin/make_dawn_views -t view11 -d scripts/view11 -s 4 view_11: - stage: test + stage: collect rules: - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' needs: - - job: compile - optional: false - job: dawn_view_11:detector optional: false - job: dawn_view_11:ev001 diff --git a/views/view12.yml b/views/view12.yml index 4f7d6ccd2130712276a88ca9661cc240b4ef1f2d..13316030e0f72f20640f66739089ecb0d7896ea7 100644 --- a/views/view12.yml +++ b/views/view12.yml @@ -4,7 +4,7 @@ dawn_view_12:detector: - ./bin/make_dawn_views -t view12 -d scripts/view12 -D view_12: - stage: test + stage: collect rules: - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' needs: diff --git a/views/view13.yml b/views/view13.yml index c5d4f4860d7043d2877be49d7a2d98771356fcab..9360140c267611ea7f199280a567ec2ae871c214 100644 --- a/views/view13.yml +++ b/views/view13.yml @@ -4,7 +4,7 @@ dawn_view_13:detector: - ./bin/make_dawn_views -t view13 -d scripts/view13 -D view_13: - stage: test + stage: collect rules: - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' needs: diff --git a/views/view14.yml b/views/view14.yml index 9cd9a365a02196aeea4a4a782bc9f24b0813b590..de135eb04d6eb0f39594a5551ebc3505fef1406c 100644 --- a/views/view14.yml +++ b/views/view14.yml @@ -4,7 +4,7 @@ dawn_view_14:detector: - ./bin/make_dawn_views -t view14 -d scripts/view14 -D view_14: - stage: test + stage: collect rules: - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' needs: diff --git a/views/view15.yml b/views/view15.yml index 124ca01b4710ef247ea1f1862e7a54e88544cee6..8e6bd133157dd795c6e53bf09af4aadee843b3b8 100644 --- a/views/view15.yml +++ b/views/view15.yml @@ -4,7 +4,7 @@ dawn_view_15:detector: - ./bin/make_dawn_views -t view15 -d scripts/view15 -D view_15: - stage: test + stage: collect rules: - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' needs: diff --git a/views/view2.yml b/views/view2.yml index 10368277fa730b256af8e21814db22b58dd36294..fafb8adcd431e6eb78b31bd5c6a95530b750fcbf 100644 --- a/views/view2.yml +++ b/views/view2.yml @@ -22,7 +22,7 @@ dawn_view_02:ev003: - ./bin/make_dawn_views -t view02_ev003 -d scripts/view2 -s 3 view_02: - stage: test + stage: collect rules: - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' needs: diff --git a/views/view20.yml b/views/view20.yml index 5436fc5765da2d1e6769b5621f3e3bad54d440f4..75cdb44029f9aeb94b88aae66f948efe45d29a1d 100644 --- a/views/view20.yml +++ b/views/view20.yml @@ -19,7 +19,7 @@ dawn_view_20:ev002: - ./bin/make_dawn_views -t view20_ev002 -d scripts/view20 -s 2 view_20: - stage: test + stage: collect rules: - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' needs: diff --git a/views/view3.yml b/views/view3.yml index b31465676869a1559551f2305d3c4fe577b355a7..ea4dd11484086b38c08d825e70f6ba23a8e79a39 100644 --- a/views/view3.yml +++ b/views/view3.yml @@ -14,7 +14,7 @@ dawn_view_03:ev002: - ./bin/make_dawn_views -t view02_ev002 -d scripts/view3 -s 2 view_03: - stage: test + stage: collect rules: - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' needs: diff --git a/views/view6.yml b/views/view6.yml index 92654e6dbbcf48aa45e7c15ef2c748027b164395..8d16aa3581c79c44800ddc1ed1fb9bcb958276ca 100644 --- a/views/view6.yml +++ b/views/view6.yml @@ -28,7 +28,7 @@ dawn_view_06:ev004: - ./bin/make_dawn_views -t view06_ev004 -d scripts/view6 -s 4 view_06: - stage: test + stage: collect rules: - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' needs: diff --git a/views/view7.yml b/views/view7.yml index 444140dd36462c800e6abb1e6535b5417abd9f71..740ef72d2b2cb11b504d11d892f0a6ce986bd844 100644 --- a/views/view7.yml +++ b/views/view7.yml @@ -16,7 +16,7 @@ dawn_view_07:ev003: - ./bin/make_dawn_views -t view07_ev003 -d scripts/view7 -s 3 view_07: - stage: test + stage: collect rules: - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' needs: