[PR #996] [MERGED] ci: Refresh CMake cache on build. #1871

Closed
opened 2026-02-27 21:14:16 +03:00 by kerem · 0 comments
Owner

📋 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: mainHead: cmake-cache


📝 Commits (1)

  • 8c4b995 ci: 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 cmake to 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.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/996 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 9/20/2024 **Status:** ✅ Merged **Merged:** 9/20/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `cmake-cache` --- ### 📝 Commits (1) - [`8c4b995`](https://github.com/shadps4-emu/shadPS4/commit/8c4b9952e2da1ef41b73fb905e44fd9d4988fe47) ci: Refresh CMake cache on build. ### 📊 Changes **6 files changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `.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) </details> ### 📄 Description Passes an argument to `cmake` to 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:14:16 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#1871
No description provided.