Skip to content

Commit 3c27fc3

Browse files
committed
Merge branch 'main' of https://github.com/eic/epic.git
2 parents 4715220 + fc2eb7a commit 3c27fc3

File tree

90 files changed

+2592
-810
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+2592
-810
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "eic-shell",
3-
"image": "ghcr.io/eic/eic_xl:nightly"
3+
"image": "ghcr.io/eic/eic_ci:nightly"
44
}

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ updates:
99
directory: "/" # Location of package manifests
1010
schedule:
1111
interval: "weekly"
12+
reviewers:
13+
- "eic/epic-detector-geometry-review"

.github/workflows/check-geometry-configs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
check-geometry-configs:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/download-artifact@v4
14+
- uses: actions/checkout@v5
15+
- uses: actions/download-artifact@v5
1616
with:
1717
name: build-gcc-fast-eic-shell
1818
path: install/

.github/workflows/check-tracking-geometry.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
matrix:
1515
detector_config: ${{fromJson(inputs.detector_configs)}}
1616
steps:
17-
- uses: actions/checkout@v4
18-
- uses: actions/download-artifact@v4
17+
- uses: actions/checkout@v5
18+
- uses: actions/download-artifact@v5
1919
with:
2020
name: build-gcc-fast-eic-shell
2121
path: install/
@@ -26,6 +26,7 @@ jobs:
2626
network_types: "none"
2727
setup: install/bin/thisepic.sh
2828
run: |
29+
/usr/bin/time -v \
2930
root -b -q "scripts/test_ACTS.cxx+(\"${DETECTOR_PATH}/${{matrix.detector_config}}.xml\")" | tee check_tracking_geometry.out
3031
bin/acts_geo_check check_tracking_geometry.out
3132
- uses: actions/upload-artifact@v4

.github/workflows/convert-to-gdml.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
convert-to-gdml:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/download-artifact@v4
14+
- uses: actions/checkout@v5
15+
- uses: actions/download-artifact@v5
1616
with:
1717
name: build-gcc-full-eic-shell
1818
path: install/

.github/workflows/convert-to-step.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
matrix:
1515
detector_config: ${{fromJson(inputs.detector_configs)}}
1616
steps:
17-
- uses: actions/checkout@v4
18-
- uses: actions/download-artifact@v4
17+
- uses: actions/checkout@v5
18+
- uses: actions/download-artifact@v5
1919
with:
2020
name: build-gcc-fast-eic-shell
2121
path: install/

.github/workflows/convert-to-tgeo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
convert-to-tgeo:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/download-artifact@v4
14+
- uses: actions/checkout@v5
15+
- uses: actions/download-artifact@v5
1616
with:
1717
name: build-gcc-full-eic-shell
1818
path: install/

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
pull-requests: write
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/labeler@v5
12+
- uses: actions/labeler@v6
1313
with:
1414
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/linux-eic-shell.yml

Lines changed: 48 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
xmllint-before-build:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v5
2222
- run: |
2323
sudo apt-get update
2424
sudo apt-get install -y libxml2-utils
@@ -30,7 +30,7 @@ jobs:
3030
configs_csv: ${{ steps.list-detector-configs.outputs.configs_csv }}
3131
configs_json: ${{ steps.list-detector-configs.outputs.configs_json }}
3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v5
3434
- id: list-detector-configs
3535
run: |
3636
CONFIGS_CSV=$(
@@ -60,7 +60,7 @@ jobs:
6060
env:
6161
PREFIX: ${{ github.workspace }}/install
6262
steps:
63-
- uses: actions/checkout@v4
63+
- uses: actions/checkout@v5
6464
- name: Prepare ccache timestamp
6565
id: ccache_cache_timestamp
6666
run: |
@@ -116,7 +116,7 @@ jobs:
116116
runs-on: ubuntu-latest
117117
needs: build
118118
steps:
119-
- uses: actions/download-artifact@v4
119+
- uses: actions/download-artifact@v5
120120
with:
121121
name: build-gcc-full-eic-shell
122122
path: install/
@@ -145,8 +145,8 @@ jobs:
145145
- build
146146
- check-tracking-geometry
147147
steps:
148-
- uses: actions/checkout@v4
149-
- uses: actions/download-artifact@v4
148+
- uses: actions/checkout@v5
149+
- uses: actions/download-artifact@v5
150150
with:
151151
name: build-gcc-full-eic-shell
152152
path: install/
@@ -165,7 +165,8 @@ jobs:
165165
name: material_map
166166
path: |
167167
scripts/material_map/*.json
168-
scripts/material_map/*.root
168+
scripts/material_map/material-map.cbor
169+
scripts/material_map/plots/
169170
scripts/material_map/Surfaces/
170171
scripts/material_map/Validation/
171172
if-no-files-found: error
@@ -201,8 +202,8 @@ jobs:
201202
matrix:
202203
detector_config: [epic_craterlake]
203204
steps:
204-
- uses: actions/checkout@v4
205-
- uses: actions/download-artifact@v4
205+
- uses: actions/checkout@v5
206+
- uses: actions/download-artifact@v5
206207
with:
207208
name: build-gcc-full-eic-shell
208209
path: install/
@@ -228,8 +229,8 @@ jobs:
228229
matrix:
229230
detector_config: [epic_craterlake]
230231
steps:
231-
- uses: actions/checkout@v4
232-
- uses: actions/download-artifact@v4
232+
- uses: actions/checkout@v5
233+
- uses: actions/download-artifact@v5
233234
with:
234235
name: build-gcc-full-eic-shell
235236
path: install/
@@ -296,8 +297,8 @@ jobs:
296297
detector_config: [epic_craterlake] # FIXME
297298
fail-fast: false
298299
steps:
299-
- uses: actions/checkout@v4
300-
- uses: actions/download-artifact@v4
300+
- uses: actions/checkout@v5
301+
- uses: actions/download-artifact@v5
301302
with:
302303
name: build-gcc-full-eic-shell
303304
path: install/
@@ -318,8 +319,8 @@ jobs:
318319
needs: build
319320
if: github.ref == 'refs/heads/main'
320321
steps:
321-
- uses: actions/checkout@v4
322-
- uses: actions/download-artifact@v4
322+
- uses: actions/checkout@v5
323+
- uses: actions/download-artifact@v5
323324
with:
324325
name: build-gcc-full-eic-shell
325326
path: install/
@@ -349,8 +350,8 @@ jobs:
349350
detector_config: [epic_craterlake]
350351
fail-fast: false
351352
steps:
352-
- uses: actions/checkout@v4
353-
- uses: actions/download-artifact@v4
353+
- uses: actions/checkout@v5
354+
- uses: actions/download-artifact@v5
354355
with:
355356
name: build-gcc-full-eic-shell
356357
path: install/
@@ -374,8 +375,8 @@ jobs:
374375
detector_config: [epic_inner_detector, epic_craterlake]
375376
fail-fast: false
376377
steps:
377-
- uses: actions/checkout@v4
378-
- uses: actions/download-artifact@v4
378+
- uses: actions/checkout@v5
379+
- uses: actions/download-artifact@v5
379380
with:
380381
name: build-gcc-fast-eic-shell
381382
path: install/
@@ -395,6 +396,8 @@ jobs:
395396
runs-on: ubuntu-latest
396397
if: github.actor != 'dependabot[bot]' && github.ref != 'refs/heads/main'
397398
needs: [check-overlap-tgeo, check-overlap-geant4-fast]
399+
outputs:
400+
json: ${{ steps.trigger.outputs.json }}
398401
steps:
399402
- uses: eic/trigger-gitlab-ci@v3
400403
id: trigger
@@ -433,8 +436,8 @@ jobs:
433436
detector_config: [epic_craterlake]
434437
fail-fast: false
435438
steps:
436-
- uses: actions/checkout@v4
437-
- uses: actions/download-artifact@v4
439+
- uses: actions/checkout@v5
440+
- uses: actions/download-artifact@v5
438441
with:
439442
name: build-gcc-fast-eic-shell
440443
path: install/
@@ -462,8 +465,8 @@ jobs:
462465
detector_config: [epic_craterlake]
463466
fail-fast: false
464467
steps:
465-
- uses: actions/checkout@v4
466-
- uses: actions/download-artifact@v4
468+
- uses: actions/checkout@v5
469+
- uses: actions/download-artifact@v5
467470
with:
468471
name: ${{ matrix.detector_config }}.prim
469472
path: prim/
@@ -492,8 +495,8 @@ jobs:
492495
detector_config: [epic_craterlake]
493496
fail-fast: false
494497
steps:
495-
- uses: actions/checkout@v4
496-
- uses: actions/download-artifact@v4
498+
- uses: actions/checkout@v5
499+
- uses: actions/download-artifact@v5
497500
with:
498501
name: ${{ matrix.detector_config }}.prim
499502
path: prim/
@@ -536,8 +539,8 @@ jobs:
536539
particle: [pi, e]
537540
detector_config: [epic_craterlake]
538541
steps:
539-
- uses: actions/checkout@v4
540-
- uses: actions/download-artifact@v4
542+
- uses: actions/checkout@v5
543+
- uses: actions/download-artifact@v5
541544
with:
542545
name: build-gcc-full-eic-shell
543546
path: install/
@@ -569,7 +572,6 @@ jobs:
569572
platform-release: "eic_xl:nightly"
570573
setup: install/bin/thisepic.sh
571574
run: |
572-
export PYTHONPATH=$HOME/.local/lib/python3.10/site-packages:$PYTHONPATH
573575
mkdir capybara-reports
574576
shopt -s nullglob
575577
capybara bara ref/sim_${{ matrix.particle }}_1GeV_20GeV_${{ matrix.detector_config }}.edm4hep.root* sim_${{ matrix.particle }}_1GeV_20GeV_${{ matrix.detector_config }}.edm4hep.root
@@ -595,8 +597,8 @@ jobs:
595597
- beam: 5x41
596598
minq2: 1000
597599
steps:
598-
- uses: actions/checkout@v4
599-
- uses: actions/download-artifact@v4
600+
- uses: actions/checkout@v5
601+
- uses: actions/download-artifact@v5
600602
with:
601603
name: build-gcc-full-eic-shell
602604
path: install/
@@ -638,8 +640,6 @@ jobs:
638640
platform-release: "eic_xl:nightly"
639641
setup: install/bin/thisepic.sh
640642
run: |
641-
pip install 'pygithub>=2' 'bokeh>=3'
642-
export PYTHONPATH=$HOME/.local/lib/python3.10/site-packages:$PYTHONPATH
643643
mkdir capybara-reports
644644
shopt -s nullglob
645645
capybara bara ref/sim_dis_${{matrix.beam}}_minQ2=${{matrix.minq2}}_${{ matrix.detector_config }}.edm4hep.root* sim_dis_${{matrix.beam}}_minQ2=${{matrix.minq2}}_${{ matrix.detector_config }}.edm4hep.root
@@ -675,12 +675,12 @@ jobs:
675675
- merge-parameter-table
676676
- merge-dawn-view
677677
steps:
678-
- uses: actions/checkout@v4
679-
- uses: actions/download-artifact@v4
678+
- uses: actions/checkout@v5
679+
- uses: actions/download-artifact@v5
680680
with:
681681
path: artifacts/
682682
- uses: actions/jekyll-build-pages@v1
683-
- uses: actions/upload-pages-artifact@v3
683+
- uses: actions/upload-pages-artifact@v4
684684
with:
685685
retention-days: 7
686686

@@ -699,3 +699,16 @@ jobs:
699699
- name: Deploy to GitHub Pages
700700
id: deployment
701701
uses: actions/deploy-pages@v4
702+
703+
cancel-container:
704+
if: cancelled() || failure()
705+
needs:
706+
- trigger-container
707+
- deploy-artifacts-page
708+
runs-on: ubuntu-latest
709+
steps:
710+
- name: Cancel container
711+
run: |
712+
curl --request POST \
713+
--header "PRIVATE-TOKEN: ${{ secrets.EICWEB_CONTAINER_CANCEL }}" \
714+
https://eicweb.phy.anl.gov/api/v4/projects/290/pipelines/$(echo '${{ needs.trigger-container.outputs.json }}' | jq --raw-output .id)/cancel

.github/workflows/pr-backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
# Don't run on closed unmerged pull requests
1313
if: github.event.pull_request.merged
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v5
1616
- name: Create backport pull requests
1717
uses: korthout/backport-action@v3
1818
with:

0 commit comments

Comments
 (0)