2022-05-14 05:56:57 +00:00
|
|
|
name: 🖥️ Windows Builds
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-06-22 21:33:10 +00:00
|
|
|
branches-ignore:
|
|
|
|
- "l10n_master"
|
2022-05-14 05:56:57 +00:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
# MSBUILD
|
|
|
|
lint_vs_proj_files:
|
|
|
|
name: Lint VS Project Files
|
2023-06-23 10:47:28 +00:00
|
|
|
if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request'
|
2022-05-14 05:56:57 +00:00
|
|
|
runs-on: windows-2019
|
|
|
|
steps:
|
|
|
|
- name: Checkout Repository
|
2023-09-11 04:33:40 +00:00
|
|
|
uses: actions/checkout@v4
|
2022-05-14 05:56:57 +00:00
|
|
|
- name: Verify VS Project Files
|
|
|
|
run: .github\workflows\scripts\windows\validate-vs-filters.ps1
|
|
|
|
|
2022-05-14 05:57:56 +00:00
|
|
|
build_qt_sse4:
|
|
|
|
needs: lint_vs_proj_files
|
|
|
|
name: "SSE4"
|
2023-06-23 10:47:28 +00:00
|
|
|
if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request'
|
2022-05-14 05:57:56 +00:00
|
|
|
uses: ./.github/workflows/windows_build_qt.yml
|
|
|
|
with:
|
2023-07-09 11:16:46 +00:00
|
|
|
jobName: "MSVC SSE4"
|
2024-01-06 20:44:44 +00:00
|
|
|
artifactPrefixName: "PCSX2-windows-Qt-x64-sse4-msvc"
|
2022-05-14 05:57:56 +00:00
|
|
|
configuration: Release
|
|
|
|
simd: "SSE4"
|
|
|
|
secrets: inherit
|
|
|
|
|
2022-05-14 05:56:57 +00:00
|
|
|
build_qt_avx2:
|
|
|
|
needs: lint_vs_proj_files
|
|
|
|
name: "AVX2"
|
2023-06-23 10:47:28 +00:00
|
|
|
if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request'
|
2022-05-14 05:56:57 +00:00
|
|
|
uses: ./.github/workflows/windows_build_qt.yml
|
|
|
|
with:
|
2023-07-09 11:16:46 +00:00
|
|
|
jobName: "MSVC AVX2"
|
2024-01-06 20:44:44 +00:00
|
|
|
artifactPrefixName: "PCSX2-windows-Qt-x64-avx2-msvc"
|
2022-05-14 05:56:57 +00:00
|
|
|
configuration: Release AVX2
|
|
|
|
secrets: inherit
|
|
|
|
|
2023-01-26 04:15:28 +00:00
|
|
|
build_qt_cmake:
|
|
|
|
name: "CMake"
|
2023-06-23 10:47:28 +00:00
|
|
|
if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request'
|
2022-08-22 06:46:13 +00:00
|
|
|
uses: ./.github/workflows/windows_build_qt.yml
|
|
|
|
with:
|
2023-07-09 11:16:46 +00:00
|
|
|
jobName: "CMake MSVC"
|
2024-01-06 20:44:44 +00:00
|
|
|
artifactPrefixName: "PCSX2-windows-Qt-x64-cmake-msvc"
|
2022-08-22 06:46:13 +00:00
|
|
|
configuration: CMake
|
|
|
|
buildSystem: cmake
|
|
|
|
secrets: inherit
|
2022-12-25 09:51:50 +00:00
|
|
|
|
|
|
|
build_qt_clang_sse4:
|
|
|
|
needs: lint_vs_proj_files
|
|
|
|
name: "SSE4"
|
2023-06-23 10:47:28 +00:00
|
|
|
if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request'
|
2022-12-25 09:51:50 +00:00
|
|
|
uses: ./.github/workflows/windows_build_qt.yml
|
|
|
|
with:
|
2023-07-09 11:16:46 +00:00
|
|
|
jobName: "Clang SSE4"
|
2024-01-06 20:44:44 +00:00
|
|
|
artifactPrefixName: "PCSX2-windows-Qt-x64-sse4-clang"
|
2022-12-25 09:51:50 +00:00
|
|
|
configuration: Release Clang
|
|
|
|
simd: "SSE4"
|
|
|
|
secrets: inherit
|
|
|
|
|
|
|
|
build_qt_clang_avx2:
|
|
|
|
needs: lint_vs_proj_files
|
|
|
|
name: "AVX2"
|
2023-06-23 10:47:28 +00:00
|
|
|
if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request'
|
2022-12-25 09:51:50 +00:00
|
|
|
uses: ./.github/workflows/windows_build_qt.yml
|
|
|
|
with:
|
2023-07-09 11:16:46 +00:00
|
|
|
jobName: "Clang AVX2"
|
2024-01-06 20:44:44 +00:00
|
|
|
artifactPrefixName: "PCSX2-windows-Qt-x64-avx2-clang"
|
2022-12-25 09:51:50 +00:00
|
|
|
configuration: Release Clang AVX2
|
|
|
|
secrets: inherit
|
2023-01-26 04:15:28 +00:00
|
|
|
|
|
|
|
build_qt_cmake_clang:
|
|
|
|
name: "CMake"
|
2023-06-23 10:47:28 +00:00
|
|
|
if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request'
|
2023-01-26 04:15:28 +00:00
|
|
|
uses: ./.github/workflows/windows_build_qt.yml
|
|
|
|
with:
|
2023-07-09 11:16:46 +00:00
|
|
|
jobName: "CMake Clang"
|
2024-01-06 20:44:44 +00:00
|
|
|
artifactPrefixName: "PCSX2-windows-Qt-x64-cmake-clang"
|
2023-01-26 04:15:28 +00:00
|
|
|
configuration: CMake
|
|
|
|
buildSystem: cmake
|
|
|
|
cmakeFlags: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DPCSX2_EXE_NAME=pcsx2-qt-clang
|
|
|
|
secrets: inherit
|