summaryrefslogtreecommitdiff
path: root/.github/workflows/warm-dependency-caches.yml
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-10-09 14:12:35 +0200
committerChristoph Berg <myon@debian.org>2026-10-09 14:12:35 +0200
commitffc62c792c9a5196cb4ce7a353287dfe20db6524 (patch)
tree1269efa852935b183daae4bb33a58d1b4d2ffb53 /.github/workflows/warm-dependency-caches.yml
parent059831534c7e884f0a607ed86b582fd00d821731 (diff)
New upstream version 3.3.0~beta1+dfsgupstream/3.3.0_beta1+dfsg
Diffstat (limited to '.github/workflows/warm-dependency-caches.yml')
-rw-r--r--.github/workflows/warm-dependency-caches.yml119
1 files changed, 119 insertions, 0 deletions
diff --git a/.github/workflows/warm-dependency-caches.yml b/.github/workflows/warm-dependency-caches.yml
index db9f6593..9c38a1a7 100644
--- a/.github/workflows/warm-dependency-caches.yml
+++ b/.github/workflows/warm-dependency-caches.yml
@@ -7,8 +7,15 @@ on:
- ".github/workflows/ci.yml"
- ".github/workflows/release.yml"
- ".github/workflows/build-linux.yml"
+ - ".github/workflows/build-linux-sanitizers.yml"
- ".github/workflows/warm-dependency-caches.yml"
- ".github/actions/build-linux-payload/**"
+ - ".github/actions/build-linux-sanitizers/**"
+ - ".github/scripts/verify-sanitizer-instrumentation.py"
+ - "CMakeLists.txt"
+ - "CMake/**"
+ - "tests/CMakeLists.txt"
+ - "tests/**/CMakeLists.txt"
- ".github/images/linux-ci/**"
- ".github/scripts/linux-ci-image-config.sh"
- ".github/scripts/linux-ci-image-fingerprint.sh"
@@ -32,6 +39,8 @@ on:
- ".github/scripts/build-*-macos.sh"
- ".github/scripts/build-*-windows.sh"
- ".github/scripts/*armhf*"
+ - ".github/cmake/armhf-toolchain.cmake"
+ - ".github/scripts/linux-artifact-validation.sh"
- ".github/scripts/install-*-macos*.sh"
- ".github/scripts/macos-qt-cache-key.sh"
- ".github/scripts/verify-macos-*.sh"
@@ -51,6 +60,8 @@ on:
- windows
- linux
- linux-arm64
+ - linux-armhf
+ - linux-asan-ubsan
- linux-tsan
- linux-images
- linux-retention
@@ -79,6 +90,8 @@ jobs:
outputs:
linux_images: ${{ steps.detect.outputs.linux_images }}
linux_arm64: ${{ steps.detect.outputs.linux_arm64 }}
+ linux_armhf: ${{ steps.detect.outputs.linux_armhf }}
+ linux_asan_ubsan: ${{ steps.detect.outputs.linux_asan_ubsan }}
retention: ${{ steps.detect.outputs.retention }}
windows: ${{ steps.detect.outputs.windows }}
macos_arm64: ${{ steps.detect.outputs.macos_arm64 }}
@@ -109,12 +122,16 @@ jobs:
tsan_images=false
retention=false
linux_arm64=false
+ linux_armhf=false
+ linux_asan_ubsan=false
windows=false
macos_arm64=false
macos_x86_64=false
enable_cache_all() {
linux_arm64=true
+ linux_armhf=true
+ linux_asan_ubsan=true
windows=true
macos_arm64=true
macos_x86_64=true
@@ -150,6 +167,12 @@ jobs:
linux-arm64)
linux_arm64=true
;;
+ linux-armhf)
+ linux_armhf=true
+ ;;
+ linux-asan-ubsan)
+ linux_asan_ubsan=true
+ ;;
linux-tsan)
tsan_images=true
;;
@@ -203,6 +226,17 @@ jobs:
;;
.github/workflows/build-linux.yml|.github/actions/build-linux-payload/*|.github/scripts/select-linux-ccache-save.sh)
linux_arm64=true
+ linux_armhf=true
+ ;;
+ .github/scripts/build-linux-armhf-cross.sh|.github/scripts/audit-armhf-cross-build.sh|.github/cmake/armhf-toolchain.cmake|.github/scripts/linux-artifact-validation.sh)
+ linux_armhf=true
+ ;;
+ CMakeLists.txt|CMake/*|tests/CMakeLists.txt|tests/*/CMakeLists.txt)
+ linux_armhf=true
+ linux_asan_ubsan=true
+ ;;
+ .github/workflows/build-linux-sanitizers.yml|.github/actions/build-linux-sanitizers/*|.github/scripts/verify-sanitizer-instrumentation.py)
+ linux_asan_ubsan=true
;;
.github/workflows/build-windows.yml|.github/actions/build-windows-deps/*|.github/scripts/build-boost-windows.sh|.github/scripts/build-pfunit-windows.sh|.github/scripts/build-hamlib-windows.sh)
windows=true
@@ -257,6 +291,8 @@ jobs:
{
echo "linux_images=$linux_images"
echo "linux_arm64=$linux_arm64"
+ echo "linux_armhf=$linux_armhf"
+ echo "linux_asan_ubsan=$linux_asan_ubsan"
echo "retention=$retention"
echo "windows=$windows"
echo "macos_arm64=$macos_arm64"
@@ -273,12 +309,16 @@ jobs:
echo "| --- | --- |"
echo "| Linux GHCR image set | $image_set |"
echo "| Linux arm64 ccache | $linux_arm64 |"
+ echo "| Linux ARMHF ccache (standalone) | $linux_armhf |"
+ echo "| Linux ASan/UBSan ccache (standalone) | $linux_asan_ubsan |"
echo "| Linux GHCR retention | $retention |"
echo "| Windows x86_64 | $windows |"
echo "| macOS arm64 | $macos_arm64 |"
echo "| macOS x86_64 | $macos_x86_64 |"
} >> "$GITHUB_STEP_SUMMARY"
+ echo "Normal image refreshes warm ARMHF and ASan/UBSan after promotion instead of running the standalone warmers." >> "$GITHUB_STEP_SUMMARY"
+
refresh-linux-images:
needs: detect
if: needs.detect.outputs.linux_images == 'true'
@@ -348,6 +388,51 @@ jobs:
arch: aarch64
save_ccache: true
+ warm-linux-armhf-ccache:
+ needs: detect
+ if: >-
+ github.ref == 'refs/heads/develop' &&
+ needs.detect.outputs.linux_armhf == 'true' &&
+ needs.detect.outputs.image_set != 'normal' &&
+ needs.detect.outputs.image_set != 'normal-and-tsan'
+ uses: ./.github/workflows/build-linux.yml
+ permissions:
+ contents: read
+ packages: read
+ concurrency:
+ group: armhf-ccache-develop
+ cancel-in-progress: false
+ with:
+ version: ${{ needs.detect.outputs.version }}
+ hamlib_branch: ${{ needs.detect.outputs.hamlib_branch }}
+ arch: armhf
+ armhf_build_only: true
+ allow_stale_image: false
+ recache: false
+ save_ccache: true
+
+ warm-linux-asan-ubsan-ccache:
+ needs: detect
+ if: >-
+ github.ref == 'refs/heads/develop' &&
+ needs.detect.outputs.linux_asan_ubsan == 'true' &&
+ needs.detect.outputs.image_set != 'normal' &&
+ needs.detect.outputs.image_set != 'normal-and-tsan'
+ uses: ./.github/workflows/build-linux-sanitizers.yml
+ permissions:
+ contents: read
+ packages: read
+ concurrency:
+ group: asan-ubsan-ccache-develop
+ cancel-in-progress: false
+ with:
+ hamlib_branch: ${{ needs.detect.outputs.hamlib_branch }}
+ sanitizer: asan-ubsan
+ run_tests: false
+ allow_stale_image: false
+ recache: false
+ save_ccache: true
+
warm-windows-x86_64-deps:
needs: detect
if: needs.detect.outputs.windows == 'true'
@@ -441,3 +526,37 @@ jobs:
runner: macos-15-intel
deployment_target: "10.13"
save_ccache: true
+
+ summary:
+ if: always()
+ needs:
+ - detect
+ - refresh-linux-images
+ - retain-linux-images
+ - warm-linux-arm64-ccache
+ - warm-linux-armhf-ccache
+ - warm-linux-asan-ubsan-ccache
+ - warm-windows-x86_64-deps
+ - warm-windows-ccache
+ - warm-macos-arm64-deps
+ - warm-macos-x86_64-deps
+ - warm-macos-arm64-ccache
+ - warm-macos-x86_64-ccache
+ runs-on: ubuntu-latest
+ timeout-minutes: 5
+ steps:
+ - name: Summarize cache warmer outcomes
+ env:
+ JOBS: ${{ toJSON(needs) }}
+ run: |
+ python3 - <<'PY' >> "$GITHUB_STEP_SUMMARY"
+ import json
+ import os
+
+ print("## Cache warmer outcomes\n")
+ print("| Job | Result |")
+ print("| --- | --- |")
+ for name, job in json.loads(os.environ["JOBS"]).items():
+ print(f"| {name} | {job['result']} |")
+ print("\nSkipped jobs did not validate their caches. See each job's cache summary for restore and build details.")
+ PY