From 04be1c6b5c848fa48051ec856468eca6bc82f085 Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Wed, 23 Jul 2025 15:26:35 +0200 Subject: [PATCH] chore: CI: cached Lake as secondary job (#9486) --- .github/workflows/build-template.yml | 4 ++-- .github/workflows/ci.yml | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-template.yml b/.github/workflows/build-template.yml index 1974fe4e16..0849962d37 100644 --- a/.github/workflows/build-template.yml +++ b/.github/workflows/build-template.yml @@ -104,7 +104,7 @@ jobs: # NOTE: must be in sync with `save` below and with `restore-cache` in `update-stage0.yml` path: | .ccache - ${{ matrix.name == 'Linux Lake' && false && 'build/stage1/**/*.trace + ${{ matrix.name == 'Linux Lake (cached)' && 'build/stage1/**/*.trace build/stage1/**/*.olean* build/stage1/**/*.ilean build/stage1/**/*.ir @@ -256,7 +256,7 @@ jobs: # NOTE: must be in sync with `restore` above path: | .ccache - ${{ matrix.name == 'Linux Lake' && false && 'build/stage1/**/*.trace + ${{ matrix.name == 'Linux Lake (cached)' && 'build/stage1/**/*.trace build/stage1/**/*.olean* build/stage1/**/*.ilean build/stage1/**/*.ir diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb21083f35..861fb43306 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -194,6 +194,13 @@ jobs: "test-speedcenter": large && level >= 2, "CMAKE_OPTIONS": "-DUSE_LAKE=ON", }, + { + "name": "Linux Lake (cached)", + "os": "ubuntu-latest", + "check-level": (isPr || isPushToMaster) ? 0 : 2, + "secondary": true, + "CMAKE_OPTIONS": "-DUSE_LAKE=ON", + }, { "name": "Linux Reldebug", "os": "ubuntu-latest",