[PR #2052] [MERGED] CI: Switch to Windows 2025 & Reduce Warnings #2462

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2052
Author: @Xphalnos
Created: 1/4/2025
Status: Merged
Merged: 1/7/2025
Merged by: @georgemoralis

Base: mainHead: Build_Optimisation


📝 Commits (1)

  • f001ca1 CI: Switch to Windows 2025 & Reduce Warnings

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 .github/workflows/build.yml (+5 -5)

📄 Description

  • Upgrade to Windows 2025 because windows-latest uses windows-2022 by default
  • Added -DCMAKE_C_FLAGS_RELEASE=-Ofast -DCMAKE_CXX_FLAGS_RELEASE=-Ofast because by default it uses the -O3 optimization (-Ofast uses the -O3 optimizations but with additional ones)

Main:
Before1

This PR:
After1

  • 3 Warnings less by replacing ubuntu-latest with ubuntu-24.04
    CI-Warnings

🔄 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/2052 **Author:** [@Xphalnos](https://github.com/Xphalnos) **Created:** 1/4/2025 **Status:** ✅ Merged **Merged:** 1/7/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `Build_Optimisation` --- ### 📝 Commits (1) - [`f001ca1`](https://github.com/shadps4-emu/shadPS4/commit/f001ca1de68a9baea432c8c6be31b1f9696dfa06) CI: Switch to Windows 2025 & Reduce Warnings ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build.yml` (+5 -5) </details> ### 📄 Description - Upgrade to **Windows 2025** because `windows-latest` uses `windows-2022` by default - Added `-DCMAKE_C_FLAGS_RELEASE=-Ofast` `-DCMAKE_CXX_FLAGS_RELEASE=-Ofast` because by default it uses the `-O3` optimization (**-Ofast** uses the **-O3** optimizations but with additional ones) Main: ![Before1](https://github.com/user-attachments/assets/9571a1dd-353b-4f15-bc45-1988abc764f5) This PR: ![After1](https://github.com/user-attachments/assets/de4884fb-2111-47c5-89e6-64998c5c65d8) - 3 Warnings less by replacing `ubuntu-latest` with `ubuntu-24.04` ![CI-Warnings](https://github.com/user-attachments/assets/d9e6b45d-aa22-4017-9138-fcd8b7346324) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:16:36 +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#2462
No description provided.