Update ci.yml
Some checks failed
CI / React UI Build (push) Successful in 10s
CI / Native Windows Build And Tests (push) Successful in 1m30s
CI / Windows Release Package (push) Failing after 2m29s

This commit is contained in:
2026-05-06 12:15:34 +10:00
parent 73e0af5d2e
commit d2cf852eb2

View File

@@ -12,13 +12,13 @@ on:
jobs:
native-windows:
name: Native Windows Build And Tests
runs-on: windows-latest
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Resolve Native Third Party Dependencies
- name: Configure Debug
shell: powershell
run: |
$gpudirectDir = "${{ vars.GPUDIRECT_DIR }}"
@@ -53,14 +53,9 @@ jobs:
exit 1
}
"GPUDIRECT_DIR=$gpudirectDir" | Out-File -FilePath $env:GITHUB_ENV -Append
"SLANG_ROOT=$slangRoot" | Out-File -FilePath $env:GITHUB_ENV -Append
Write-Host "Using GPUDIRECT_DIR=$gpudirectDir"
Write-Host "Using SLANG_ROOT=$slangRoot"
- name: Configure Debug
shell: powershell
run: cmake --preset vs2022-x64-debug -DGPUDIRECT_DIR="$env:GPUDIRECT_DIR" -DSLANG_ROOT="$env:SLANG_ROOT"
cmake --preset vs2022-x64-debug -DGPUDIRECT_DIR="$gpudirectDir" -DSLANG_ROOT="$slangRoot"
- name: Build Debug
shell: powershell
@@ -88,7 +83,7 @@ jobs:
package-windows:
name: Windows Release Package
runs-on: windows-latest
runs-on: windows-2022
needs:
- native-windows
- ui-ubuntu
@@ -97,7 +92,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Resolve Native Third Party Dependencies
- name: Build UI
shell: powershell
working-directory: ui
run: |
npm ci --no-audit --no-fund
npm run build
- name: Configure Release
shell: powershell
run: |
$gpudirectDir = "${{ vars.GPUDIRECT_DIR }}"
@@ -132,21 +134,9 @@ jobs:
exit 1
}
"GPUDIRECT_DIR=$gpudirectDir" | Out-File -FilePath $env:GITHUB_ENV -Append
"SLANG_ROOT=$slangRoot" | Out-File -FilePath $env:GITHUB_ENV -Append
Write-Host "Using GPUDIRECT_DIR=$gpudirectDir"
Write-Host "Using SLANG_ROOT=$slangRoot"
- name: Build UI
shell: powershell
working-directory: ui
run: |
npm ci --no-audit --no-fund
npm run build
- name: Configure Release
shell: powershell
run: cmake --preset vs2022-x64-release -DGPUDIRECT_DIR="$env:GPUDIRECT_DIR" -DSLANG_ROOT="$env:SLANG_ROOT"
cmake --preset vs2022-x64-release -DGPUDIRECT_DIR="$gpudirectDir" -DSLANG_ROOT="$slangRoot"
- name: Build Release
shell: powershell