ci: Fix BuildKit cache invalidation and add Haswell-optimised builds #1012
No reviewers
Labels
No labels
Bug
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status/Blocked
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
To-Merge
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!1012
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "tom/haswell"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The workflow was rebuilding dependencies unnecessarily despite timelord restoring timestamps because TARGET_CPU and RUST_PROFILE weren't passed to Docker, creating inconsistent cache keys. Now passes both arguments for proper cache reuse.
Adds x86-64-v3 optimised builds alongside baseline builds. Recent build improvements reducing compile times from 15-20 minutes to ~5 minutes make this additional CPU variant feasible.
Users can pull performance-optimised images with -haswell suffix (e.g. main-haswell, pr-123-haswell).
ayyyy
ci: Fix BuildKit cache invalidation and add Haswell-optimised buildsto WIP: ci: Fix BuildKit cache invalidation and add Haswell-optimised builds4d6e9a9ae4da124fbb55da124fbb550d314c40990d314c40992e2ab2208e2e2ab2208e97fa07961e97fa07961ea13f0eddafa13f0eddaf9c147b182fWIP: ci: Fix BuildKit cache invalidation and add Haswell-optimised buildsto ci: Fix BuildKit cache invalidation and add Haswell-optimised buildsI am running the current
forgejo.ellis.link/continuwuation/continuwuity:pr-1012-head-haswellimage and it seems to be running fine 🙂@ -92,2 +95,4 @@profile: "release"steps:- name: Set CPU suffix variable@tcpipuk You don't need the bash script here -
${{ matrix.target_cpu && format('-{0}', ${{ matrix.target_cpu }}) || '' }}should work I thinkoh you even have it in the job name lol