Skip to content

Commit 93c7a34

Browse files
committed
Added installation of vulkan sdk. Moved scripts location.
1 parent 362ed69 commit 93c7a34

12 files changed

+34
-5
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,21 @@ jobs:
1212
with:
1313
submodules: 'recursive'
1414

15+
- name: Install Dependencies
16+
shell: powershell
17+
run: ./scripts/install_build_dependencies.ps1
18+
1519
- name: Configure
1620
shell: pwsh
17-
run: ./build_scripts/configure.ps1
21+
run: ./scripts/configure.ps1
1822

1923
- name: Build Debug
2024
shell: pwsh
21-
run: ./build_scripts/build.ps1 Debug
25+
run: ./scripts/build.ps1 Debug
2226

2327
- name: Build Release
2428
shell: pwsh
25-
run: ./build_scripts/build.ps1 Release
29+
run: ./scripts/build.ps1 Release
2630

2731
- name: Archive Debug artifacts
2832
uses: actions/upload-artifact@v4

.github/workflows/Package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
- name: Build
3131
shell: pwsh
32-
run: ./build_scripts/package.ps1
32+
run: ./scripts/package.ps1
3333

3434
- name: Sign with Trusted Signing
3535
uses: azure/trusted-signing-action@v0.5.0
@@ -54,7 +54,7 @@ jobs:
5454

5555
- name: Archive Package
5656
shell: pwsh
57-
run: ./build_scripts/archive_package.ps1
57+
run: ./scripts/archive_package.ps1
5858

5959
- name: Upload Package
6060
uses: actions/upload-artifact@v4
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Push-Location $PSScriptRoot
2+
3+
Write-Output "Downloading WinGet and its dependencies..." | Out-Host
4+
Write-Output "No progress output during download, this may take a while..." | Out-Host
5+
$PrevProgressPreference = $ProgressPreference
6+
$progressPreference = 'silentlyContinue'
7+
Invoke-WebRequest -Uri https://aka.ms/getwinget -OutFile Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
8+
Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x64.14.00.Desktop.appx
9+
Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx -OutFile Microsoft.UI.Xaml.2.8.x64.appx
10+
$ProgressPreference = $PrevProgressPreference
11+
Write-Output "Download finished, installing WinGet" | Out-Host
12+
Add-AppxPackage Microsoft.VCLibs.x64.14.00.Desktop.appx -ErrorAction 'SilentlyContinue'
13+
Add-AppxPackage Microsoft.UI.Xaml.2.8.x64.appx -ErrorAction 'SilentlyContinue'
14+
Add-AppxPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle -ErrorAction 'SilentlyContinue'
15+
Remove-Item -Path Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
16+
Remove-Item -Path Microsoft.VCLibs.x64.14.00.Desktop.appx
17+
Remove-Item -Path Microsoft.UI.Xaml.2.8.x64.appx
18+
19+
# Reload environment variables to include winget
20+
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
21+
22+
Write-Output "Installing Vulkan SDK"
23+
winget install -e KhronosGroup.VulkanSDK
24+
25+
Pop-Location
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)