[PR #985] [MERGED] Cache Windows CIs, solution by @Artalus #1864

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/985
Author: @LeDragoX
Created: 9/19/2024
Status: Merged
Merged: 9/19/2024
Merged by: @georgemoralis

Base: mainHead: cache-windows


📝 Commits (4)

  • 1d1c762 ci: Add ccache with ninja generator for Windows builds
  • 40d725a ci: Don't include d3d and dxc compiler DLLs
  • f15f39c ci: Simplify cache steps names and key names
  • 0a7152c CI trigger

📊 Changes

6 files changed (+51 additions, -25 deletions)

View changed files

📝 .github/workflows/linux-qt.yml (+4 -4)
📝 .github/workflows/linux.yml (+4 -4)
📝 .github/workflows/macos-qt.yml (+4 -4)
📝 .github/workflows/macos.yml (+4 -4)
📝 .github/workflows/windows-qt.yml (+18 -5)
📝 .github/workflows/windows.yml (+17 -4)

📄 Description

Windows CI time was too slow, so our hero @Artalus managed to find a way to use Ninja generator with ccache and bring down the build time to ~4/5 min.

  • Fully resolves #542

Extra changes

  • Use simple cache names and cache step names to be more concise and cleaner for all OSes;
  • Remove unused DLLs from Windows builds.

Expect all caches to be regenerated, so the first run is not cached and will be around ~10min.


🔄 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/985 **Author:** [@LeDragoX](https://github.com/LeDragoX) **Created:** 9/19/2024 **Status:** ✅ Merged **Merged:** 9/19/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `cache-windows` --- ### 📝 Commits (4) - [`1d1c762`](https://github.com/shadps4-emu/shadPS4/commit/1d1c76277bfcbb9c86d20a97b5a9d3e6746c69b1) ci: Add ccache with ninja generator for Windows builds - [`40d725a`](https://github.com/shadps4-emu/shadPS4/commit/40d725a381efd3e8fbb6e9bfde0e02831ac663e0) ci: Don't include d3d and dxc compiler DLLs - [`f15f39c`](https://github.com/shadps4-emu/shadPS4/commit/f15f39cc75ac2bd9296e4d69899d6f2b85f28012) ci: Simplify cache steps names and key names - [`0a7152c`](https://github.com/shadps4-emu/shadPS4/commit/0a7152c9bac0e5d5be8e66be4291b7e8b685801e) CI trigger ### 📊 Changes **6 files changed** (+51 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/linux-qt.yml` (+4 -4) 📝 `.github/workflows/linux.yml` (+4 -4) 📝 `.github/workflows/macos-qt.yml` (+4 -4) 📝 `.github/workflows/macos.yml` (+4 -4) 📝 `.github/workflows/windows-qt.yml` (+18 -5) 📝 `.github/workflows/windows.yml` (+17 -4) </details> ### 📄 Description Windows CI time was too slow, so our hero @Artalus managed to find a way to use Ninja generator with `ccache` and bring down the build time to ~4/5 min. - Fully resolves #542 ### Extra changes - Use simple cache names and cache step names to be more concise and cleaner for all OSes; - Remove unused DLLs from Windows builds. **Expect all caches to be regenerated, so the first run is not cached and will be around ~10min.** --- <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:15 +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#1864
No description provided.