Skip to content

Commit

Permalink
Merge branch 'main' into feat-grid-geometry-3D
Browse files Browse the repository at this point in the history
  • Loading branch information
asalzburger authored Jun 9, 2023
2 parents 0026a16 + c70fd4d commit a9e8824
Showing 1 changed file with 66 additions and 14 deletions.
80 changes: 66 additions & 14 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Cache build
uses: actions/cache@v3
- name: Restore ccache
uses: actions/cache/restore@v3
id: ccache-restore
with:
path: ${{ github.workspace }}/ccache
key: ${{ runner.os }}-ccache-${{ matrix.image }}_${{ env.CCACHE_KEY_SUFFIX }}_${{ github.sha }}
Expand Down Expand Up @@ -92,6 +93,13 @@ jobs:
- name: ccache stats
run: ${SETUP} && ccache -s

- name: Save ccache
uses: actions/cache/save@v3
if: always()
with:
path: ${{ github.workspace }}/ccache
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}

- name: Unit tests
run: ${SETUP} && cmake --build build --target test

Expand Down Expand Up @@ -138,8 +146,9 @@ jobs:
submodules: true
lfs: true

- name: Cache build
uses: actions/cache@v3
- name: Restore ccache
uses: actions/cache/restore@v3
id: ccache-restore
with:
path: ${{ github.workspace }}/ccache
key: ${{ runner.os }}-ccache-linux_ubuntu_${{ env.CCACHE_KEY_SUFFIX }}_${{ github.sha }}
Expand Down Expand Up @@ -176,6 +185,13 @@ jobs:
- name: ccache stats
run: ccache -s

- name: Save ccache
uses: actions/cache/save@v3
if: always()
with:
path: ${{ github.workspace }}/ccache
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}

- name: Unit tests
run: ctest --test-dir build -j$(nproc)

Expand Down Expand Up @@ -323,8 +339,9 @@ jobs:
submodules: true
lfs: true

- name: Cache build
uses: actions/cache@v3
- name: Restore ccache
uses: actions/cache/restore@v3
id: ccache-restore
with:
path: ${{ github.workspace }}/ccache
key: ${{ runner.os }}-ccache-linux_${{ matrix.image }}_${{ env.CCACHE_KEY_SUFFIX }}_${{ github.sha }}
Expand Down Expand Up @@ -360,6 +377,13 @@ jobs:
- name: ccache stats
run: ccache -s

- name: Save ccache
uses: actions/cache/save@v3
if: always()
with:
path: ${{ github.workspace }}/ccache
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}

- name: Unit tests
run: cmake --build build --target test

Expand Down Expand Up @@ -411,8 +435,9 @@ jobs:
dnf -y install ninja-build tbb-devel ccache
&& ln -s $(find / -type f -name 'ccache') /usr/local/bin/ccache
- name: Cache build
uses: actions/cache@v3
- name: Restore ccache
uses: actions/cache/restore@v3
id: ccache-restore
with:
path: ${{ github.workspace }}/ccache
key: ${{ runner.os }}-ccache-linux-nodeps_${{ env.CCACHE_KEY_SUFFIX }}_${{ github.sha }}
Expand Down Expand Up @@ -441,6 +466,12 @@ jobs:
# the build fails for technical reasons.
- name: ccache stats
run: ccache -s
- name: Save ccache
uses: actions/cache/save@v3
if: always()
with:
path: ${{ github.workspace }}/ccache
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}
- name: Unit tests
run: ${SETUP} && cmake --build build --target test
- name: Integration tests
Expand Down Expand Up @@ -504,8 +535,9 @@ jobs:
&& wget --verbose --progress=dot:giga --continue --retry-connrefused --tries=5 --timeout=2 -O deps.tar.gz https://acts.web.cern.ch/ACTS/ci/macOS/deps.67dd08d.tar.gz
&& tar -xf deps.tar.gz -C /usr/local/acts
- name: Cache build
uses: actions/cache@v3
- name: Restore ccache
uses: actions/cache/restore@v3
id: ccache-restore
with:
path: ${{ github.workspace }}/ccache
key: ${{ runner.os }}-ccache_${{ env.CCACHE_KEY_SUFFIX }}_${{ github.sha }}
Expand Down Expand Up @@ -536,6 +568,12 @@ jobs:
run: cmake --build build
- name: ccache stats
run: ccache -s
- name: Save ccache
uses: actions/cache/save@v3
if: always()
with:
path: ${{ github.workspace }}/ccache
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}
- name: Unit tests
run: cmake --build build --target test
- name: Integration tests
Expand Down Expand Up @@ -565,8 +603,9 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Cache build
uses: actions/cache@v3
- name: Restore ccache
uses: actions/cache/restore@v3
id: ccache-restore
with:
path: ${{ github.workspace }}/ccache
key: ${{ runner.os }}-ccache-cuda_${{ env.CCACHE_KEY_SUFFIX }}_${{ github.sha }}
Expand All @@ -588,6 +627,12 @@ jobs:
run: cmake --build build
- name: ccache stats
run: ccache -s
- name: Save ccache
uses: actions/cache/save@v3
if: always()
with:
path: ${{ github.workspace }}/ccache
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}

sycl:
runs-on: ubuntu-latest
Expand All @@ -598,8 +643,9 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Cache build
uses: actions/cache@v3
- name: Restore ccache
uses: actions/cache/restore@v3
id: ccache-restore
with:
path: ${{ github.workspace }}/ccache
key: ${{ runner.os }}-ccache-sycl_${{ env.CCACHE_KEY_SUFFIX }}_${{ github.sha }}
Expand All @@ -625,3 +671,9 @@ jobs:
&& cmake --build build
- name: ccache stats
run: ccache -s
- name: Save ccache
uses: actions/cache/save@v3
if: always()
with:
path: ${{ github.workspace }}/ccache
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}

0 comments on commit a9e8824

Please sign in to comment.