mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[PR #996] [MERGED] ci: Refresh CMake cache on build. #1871
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#1871
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/996
Author: @squidbus
Created: 9/20/2024
Status: ✅ Merged
Merged: 9/20/2024
Merged by: @georgemoralis
Base:
main← Head:cmake-cache📝 Commits (1)
8c4b995ci: Refresh CMake cache on build.📊 Changes
6 files changed (+6 additions, -6 deletions)
View changed files
📝
.github/workflows/linux-qt.yml(+1 -1)📝
.github/workflows/linux.yml(+1 -1)📝
.github/workflows/macos-qt.yml(+1 -1)📝
.github/workflows/macos.yml(+1 -1)📝
.github/workflows/windows-qt.yml(+1 -1)📝
.github/workflows/windows.yml(+1 -1)📄 Description
Passes an argument to
cmaketo refresh the cache when configuring. This means less of the CMake files will be reused from cache, but also makes it more tolerant to environment changes, e.g. the current issues in macOS builds from a recent GitHub actions image update.Worth noting as well that sometimes GitHub will gradually phase in new actions images and you can get runs with both old and new versions for a while, so just clearing the cache doesn't really work reliably.
I tested this in my fork and still got 3-4 minute build times across all the targets with warmed up cache.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.