fix: rebootstrap cache in github CI (#13143)
The old approach isn't smart enough to trick the lake cache anymore. Making an explicit update-stage0 commit will make it work again.
This commit is contained in:
parent
0975b7136a
commit
144db355ea
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build-template.yml
vendored
6
.github/workflows/build-template.yml
vendored
|
|
@ -276,10 +276,10 @@ jobs:
|
|||
- name: Check rebootstrap
|
||||
run: |
|
||||
set -e
|
||||
# clean rebuild in case of Makefile changes/Lake does not detect uncommited stage 0
|
||||
# changes yet
|
||||
git config user.email "stage0@lean-fro.org"
|
||||
git config user.name "update-stage0"
|
||||
make -C build update-stage0
|
||||
make -C build/stage1 clean-stdlib
|
||||
git commit --allow-empty -m "chore: update-stage0"
|
||||
time make -C build -j$NPROC
|
||||
time ctest --preset ${{ matrix.CMAKE_PRESET || 'release' }} --test-dir build/stage1 -j$NPROC
|
||||
if: matrix.check-rebootstrap
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue