From 0439ca67d9f234ab1d5de1f405e96e496b11cc0e Mon Sep 17 00:00:00 2001 From: Megamouse Date: Thu, 1 May 2025 11:36:03 +0200 Subject: [PATCH] CI: Add windows unit tests --- .github/workflows/rpcs3.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rpcs3.yml b/.github/workflows/rpcs3.yml index 986bc715f5..01fa18ecab 100644 --- a/.github/workflows/rpcs3.yml +++ b/.github/workflows/rpcs3.yml @@ -132,6 +132,12 @@ jobs: with: fetch-depth: 0 + - name: Setup NuGet + uses: nuget/setup-nuget@v2 + + - name: Restore NuGet packages + run: nuget restore rpcs3.sln + - name: Setup env shell: pwsh run: | @@ -171,7 +177,11 @@ jobs: - name: Compile RPCS3 shell: pwsh - run: msbuild rpcs3.sln /p:Configuration=Release /v:minimal /p:Platform=x64 /p:CLToolPath=${{ env.CCACHE_BIN_DIR }} /p:UseMultiToolTask=true /p:CustomAfterMicrosoftCommonTargets="${{ github.workspace }}\buildfiles\msvc\ci_only.targets" + run: msbuild rpcs3.sln /p:Configuration=Release /v:minimal /p:Platform=x64 /p:PreferredToolArchitecture=x64 /p:CLToolPath=${{ env.CCACHE_BIN_DIR }} /p:UseMultiToolTask=true /p:CustomAfterMicrosoftCommonTargets="${{ github.workspace }}\buildfiles\msvc\ci_only.targets" + + - name: Run Unit Tests + shell: pwsh + run: build\lib\Release-x64\rpcs3_test.exe - name: Pack up build artifacts run: |