Skip to content

Commit 1afd890

Browse files
nilsvuclaude
andcommitted
DROP use new container
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent fe700c3 commit 1afd890

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

.github/workflows/Tests.yaml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ on:
5454
description: >
5555
Container to use for builds
5656
required: false
57-
default: 'sxscollaboration/spectre:dev'
57+
default: 'nilsvu/spectre:dev'
5858
# Allow running this workflow as a job in another workflow. This is used to
5959
# test a new Docker container before publishing it.
6060
workflow_call:
@@ -64,7 +64,7 @@ on:
6464
Container to use for builds
6565
required: false
6666
type: string
67-
default: 'sxscollaboration/spectre:dev'
67+
default: 'nilsvu/spectre:dev'
6868

6969
# Cancel all other queued or in-progress runs of this workflow when it is
7070
# scheduled, so repeated pushes to a branch or a PR don't block CI. Repeated
@@ -113,7 +113,7 @@ jobs:
113113
name: Files and formatting
114114
runs-on: ubuntu-latest
115115
container:
116-
image: ${{ inputs.container || 'sxscollaboration/spectre:dev' }}
116+
image: ${{ inputs.container || 'nilsvu/spectre:dev' }}
117117
steps:
118118
- name: Checkout repository
119119
uses: actions/checkout@v5
@@ -216,7 +216,7 @@ jobs:
216216
|| github.ref != 'refs/heads/develop'
217217
runs-on: ubuntu-latest
218218
container:
219-
image: ${{ inputs.container || 'sxscollaboration/spectre:dev' }}
219+
image: ${{ inputs.container || 'nilsvu/spectre:dev' }}
220220
strategy:
221221
fail-fast: false
222222
matrix:
@@ -295,7 +295,7 @@ jobs:
295295
needs: check_files_and_formatting
296296
runs-on: ubuntu-latest
297297
container:
298-
image: ${{ inputs.container || 'sxscollaboration/spectre:dev' }}
298+
image: ${{ inputs.container || 'nilsvu/spectre:dev' }}
299299
env:
300300
CCACHE_DIR: /work/ccache
301301
CCACHE_READONLY: 1
@@ -545,7 +545,7 @@ jobs:
545545
use_xsimd: "OFF"
546546

547547
container:
548-
image: ${{ inputs.container || 'sxscollaboration/spectre:dev' }}
548+
image: ${{ inputs.container || 'nilsvu/spectre:dev' }}
549549
volumes:
550550
- /usr/local:/mnt/host-usr-local
551551
- /usr/share:/mnt/host-usr-share
@@ -889,15 +889,21 @@ ${{ matrix.build_type }}-pch-${{ matrix.use_pch || 'ON' }}"
889889
# Delete unused cache entries before uploading the cache
890890
- name: Clean up ccache
891891
if: github.ref == 'refs/heads/develop'
892+
|| github.ref == 'refs/heads/upgrade_container'
892893
run: |
893894
now=$(date +%s)
894895
job_duration=$((now - ${{ steps.start.outputs.time }}))
895896
ccache --evict-older-than "${job_duration}s"
896897
# Save the cache after everything has been built. Also save on failure or
897898
# on cancellation (`always()`) because a partial cache is better than no
898899
# cache.
900+
#
901+
# TEMPORARY, REMOVE BEFORE MERGING: also save on the container-upgrade
902+
# branch, which needs to warm its own cache because the new container
903+
# invalidates every entry. Branch caches are only visible to that branch.
899904
- name: Save ccache
900-
if: always() && github.ref == 'refs/heads/develop'
905+
if: always() && (github.ref == 'refs/heads/develop'
906+
|| github.ref == 'refs/heads/upgrade_container')
901907
uses: actions/cache/save@v5
902908
with:
903909
path: /work/ccache
@@ -1421,7 +1427,7 @@ ${{ matrix.build_type }}-pch-${{ matrix.use_pch || 'ON' }}"
14211427
"-skl;skylake" "-icx;icelake-server" "-tgl;tigerlake")
14221428
compiler: clang-21
14231429
container:
1424-
image: ${{ inputs.container || 'sxscollaboration/spectre:dev' }}
1430+
image: ${{ inputs.container || 'nilsvu/spectre:dev' }}
14251431
env:
14261432
# See the unit test job for the reasons for these configuration choices
14271433
CXXFLAGS: "-Werror"

0 commit comments

Comments
 (0)