VirtualBox

source: vbox/trunk/src/libs/dxvk-2.3.1/.github/workflows/test-build-windows.yml@ 107935

Last change on this file since 107935 was 105107, checked in by vboxsync, 8 months ago

libs/dxvk-2.3.1: Make it build, bugref:10716

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1name: Test Builds on Windows
2
3on: [push, pull_request, workflow_dispatch]
4
5jobs:
6 build-set-windows:
7 runs-on: windows-2022
8
9 steps:
10 - name: Checkout code
11 id: checkout-code
12 uses: actions/checkout@v3
13 with:
14 submodules: recursive
15
16 - name: Setup glslangValidator
17 shell: pwsh
18 run: |
19 Invoke-WebRequest -Uri "https://raw.githubusercontent.com/HansKristian-Work/vkd3d-proton-ci/main/glslangValidator.exe" -OutFile "glslangValidator.exe"
20 Write-Output "$pwd" | Out-File -FilePath "${Env:GITHUB_PATH}" -Append
21
22 - name: Setup Meson
23 shell: pwsh
24 run: pip install meson
25
26 - name: Find Visual Studio
27 shell: pwsh
28 run: |
29 $installationPath = Get-VSSetupInstance `
30 | Select-VSSetupInstance -Require Microsoft.VisualStudio.Workload.NativeDesktop -Latest `
31 | Select-Object -ExpandProperty InstallationPath
32 Write-Output "VSDEVCMD=${installationPath}\Common7\Tools\VsDevCmd.bat" `
33 | Out-File -FilePath "${Env:GITHUB_ENV}" -Append
34
35 - name: Build MSVC x86
36 shell: pwsh
37 run: |
38 & "${Env:COMSPEC}" /s /c "`"${Env:VSDEVCMD}`" -arch=x86 -host_arch=x64 -no_logo && set" `
39 | % { , ($_ -Split '=', 2) } `
40 | % { [System.Environment]::SetEnvironmentVariable($_[0], $_[1]) }
41 meson --buildtype release --backend vs2022 build-msvc-x86
42 msbuild -m build-msvc-x86/dxvk.sln
43
44 - name: Build MSVC x64
45 shell: pwsh
46 run: |
47 & "${Env:COMSPEC}" /s /c "`"${Env:VSDEVCMD}`" -arch=x64 -host_arch=x64 -no_logo && set" `
48 | % { , ($_ -Split '=', 2) } `
49 | % { [System.Environment]::SetEnvironmentVariable($_[0], $_[1]) }
50 meson --buildtype release --backend vs2022 build-msvc-x64
51 msbuild -m build-msvc-x64/dxvk.sln
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette