Skip to content

Commit 88da230

Browse files
authored
Merge branch 'main' into chore-use-ranges-find
2 parents 42e0fef + ea06367 commit 88da230

File tree

2,019 files changed

+88017
-88662
lines changed

Some content is hidden

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

2,019 files changed

+88017
-88662
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/acts-project/spack-container:12.0.0_linux-ubuntu24.04_gcc-13.3.0
1+
FROM ghcr.io/acts-project/spack-container:18.0.0_linux-ubuntu24.04_gcc-13.3.0
22

33
RUN apt-get update && apt-get install -y clangd vim
44

.devcontainer/devcontainer.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
2-
"name": "Ubuntu 24.04",
3-
"build": {
4-
"dockerfile": "Dockerfile"
5-
},
6-
"customizations": {
7-
"vscode": {
8-
"extensions": [
9-
"xaver.clang-format",
10-
"twxs.cmake",
11-
"llvm-vs-code-extensions.vscode-clangd",
12-
],
13-
"settings": {
14-
"clangd.path": "/usr/bin/clangd",
15-
"clangd.arguments": [
16-
"--compile-commands-dir=${containerWorkspaceFolder}/build_devcontainer"
17-
]
18-
}
19-
}
20-
},
21-
"containerEnv": {
22-
"CXXFLAGS": "-Wno-psabi"
23-
},
24-
"postCreateCommand": "bash .devcontainer/setup.sh ${containerWorkspaceFolder}"
2+
"name": "Ubuntu 24.04",
3+
"build": {
4+
"dockerfile": "Dockerfile"
5+
},
6+
"customizations": {
7+
"vscode": {
8+
"extensions": [
9+
"xaver.clang-format",
10+
"twxs.cmake",
11+
"llvm-vs-code-extensions.vscode-clangd"
12+
],
13+
"settings": {
14+
"clangd.path": "/usr/bin/clangd",
15+
"clangd.arguments": [
16+
"--compile-commands-dir=${containerWorkspaceFolder}/build_devcontainer"
17+
]
18+
}
19+
}
20+
},
21+
"containerEnv": {
22+
"CXXFLAGS": "-Wno-psabi"
23+
},
24+
"postCreateCommand": "bash .devcontainer/setup.sh ${containerWorkspaceFolder}"
2525
}

.github/actions/dependencies/action.yml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,32 @@ inputs:
1313
spack_version:
1414
description: 'Version of Spack to use'
1515
required: false
16-
default: 'v1.0.0'
16+
default: 'v1.0.2'
1717
spack_repo_version:
1818
description: 'Version of Spack builtin repo to use'
1919
required: false
2020
default: 'v2025.07.0'
2121
DEPENDENCY_TAG:
2222
description: 'Dependency tag to pull from'
2323
required: false
24-
default: 'v13.0.0'
24+
default: 'v18.0.0'
25+
full_install:
26+
description: 'Whether to do a full dependency installation including Geant4 datasets and Python packages'
27+
required: false
28+
default: 'false'
2529

2630

2731
runs:
2832
using: 'composite'
2933
steps:
34+
- name: Setup Python version
35+
uses: actions/setup-python@v4
36+
with:
37+
python-version: "3.12"
38+
39+
- name: Install the latest version of uv
40+
uses: astral-sh/setup-uv@v6
41+
3042
- name: Prerequisites
3143
if: startsWith(runner.os, 'macos')
3244
shell: bash
@@ -38,7 +50,7 @@ runs:
3850
uses: actions/cache/restore@v4
3951
with:
4052
path: spack_cache
41-
key: spack-r2-${{ inputs.spack_version }}-${{ inputs.spack_repo_version }}-${{ hashFiles('CI/dependencies/setup_spack.sh') }}
53+
key: spack-r4-${{ inputs.spack_version }}-${{ inputs.spack_repo_version }}-${{ hashFiles('CI/dependencies/setup_spack.sh') }}
4254

4355
- name: Extract cached Spack
4456
if: steps.cache-restore.outputs.cache-hit == 'true'
@@ -75,10 +87,14 @@ runs:
7587
SPACK_REPO_VERSION: ${{ inputs.spack_repo_version }}
7688
DEPENDENCY_TAG: ${{ inputs.DEPENDENCY_TAG }}
7789
run: |
90+
args=""
91+
if [ "${{ inputs.full_install }}" == "true" ]; then
92+
echo "Full install"
93+
args="${args} -f"
94+
fi
7895
if [ -n "${{ inputs.compiler }}" ]; then
7996
echo "With compiler"
80-
CI/dependencies/setup.sh -c "${{ inputs.compiler }}"
81-
else
82-
echo "Without compiler"
83-
CI/dependencies/setup.sh
97+
args="${args} -c ${{ inputs.compiler }}"
8498
fi
99+
100+
CI/dependencies/setup.sh $args

.github/workflows/analysis.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@ env:
2222
CCACHE_MAXSIZE: 1.25G
2323
CCACHE_KEY_SUFFIX: r2
2424
ACTS_LOG_FAILURE_THRESHOLD: WARNING
25-
DEPENDENCY_TAG: v11.1.0
25+
DEPENDENCY_TAG: v17.0.0
2626

2727
# NOTE this only builds core unittests to reduce the output size. if we
2828
# found a way to have Github actions not fail regularly with this job
2929
# all unit tests should be reactivated.
3030
jobs:
3131
build_debug:
3232
runs-on: ubuntu-latest
33-
container: ghcr.io/acts-project/ubuntu2404:80
33+
container: ghcr.io/acts-project/ubuntu2404:83
3434
steps:
3535

36-
- uses: actions/checkout@v5
36+
- uses: actions/checkout@v6
3737

3838
- name: Install dependencies
3939
uses: ./.github/actions/dependencies
@@ -52,11 +52,7 @@ jobs:
5252
- name: Configure
5353
run: >
5454
ccache -z &&
55-
cmake -B build -S .
56-
--preset=github-ci
57-
-DCMAKE_BUILD_TYPE=Debug
58-
-DCMAKE_CXX_FLAGS="-Werror --coverage -g -gz -g1"
59-
-DACTS_BUILD_ODD=OFF
55+
cmake -B build -S . --preset=github-ci-coverage
6056
- name: Build
6157
run: cmake --build build
6258
- name: ccache stats
@@ -75,7 +71,7 @@ jobs:
7571
&& cd build
7672
&& /usr/bin/python3 ../CI/test_coverage.py
7773
78-
- uses: actions/upload-artifact@v4
74+
- uses: actions/upload-artifact@v5
7975
with:
8076
name: coverage-build
8177
path: build
@@ -86,17 +82,17 @@ jobs:
8682

8783
- name: Persist PR number
8884
if: github.event_name == 'pull_request'
89-
uses: actions/upload-artifact@v4
85+
uses: actions/upload-artifact@v5
9086
with:
9187
name: PR_NUMBER
9288
path: PR_NUMBER.txt
9389

9490
build_performance:
9591
runs-on: ubuntu-latest
96-
container: ghcr.io/acts-project/ubuntu2404:80
92+
container: ghcr.io/acts-project/ubuntu2404:83
9793
if: github.ref == 'refs/heads/main'
9894
steps:
99-
- uses: actions/checkout@v5
95+
- uses: actions/checkout@v6
10096

10197
- name: Install dependencies
10298
uses: ./.github/actions/dependencies
@@ -118,7 +114,7 @@ jobs:
118114
run: cmakeperf collect build/compile_commands.json -o perf.csv
119115
- name: Results
120116
run: cmakeperf print perf.csv
121-
- uses: actions/upload-artifact@v4
117+
- uses: actions/upload-artifact@v5
122118
with:
123119
name: cmakeperf
124120
path: perf.csv
@@ -128,7 +124,7 @@ jobs:
128124
# needs: build_performance
129125
# if: github.ref == 'refs/heads/main'
130126
# steps:
131-
# - uses: actions/checkout@v5
127+
# - uses: actions/checkout@v6
132128
# - name: Install dependencies
133129
# run: pip3 install git+https://github.com/paulgessinger/headwind.git@eeeaa80
134130
# - uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)