16bit processing
This commit is contained in:
@@ -31,14 +31,6 @@ jobs:
|
||||
- name: Configure Debug
|
||||
shell: powershell
|
||||
run: |
|
||||
$gpudirectDir = "${{ vars.GPUDIRECT_DIR }}"
|
||||
if ([string]::IsNullOrWhiteSpace($gpudirectDir)) {
|
||||
$gpudirectDir = $env:GPUDIRECT_DIR
|
||||
}
|
||||
if ([string]::IsNullOrWhiteSpace($gpudirectDir)) {
|
||||
$gpudirectDir = Join-Path $PWD "3rdParty\Blackmagic DeckLink SDK 16.0\Win\Samples\NVIDIA_GPUDirect"
|
||||
}
|
||||
|
||||
$slangRoot = "${{ vars.SLANG_ROOT }}"
|
||||
if ([string]::IsNullOrWhiteSpace($slangRoot)) {
|
||||
$slangRoot = $env:SLANG_ROOT
|
||||
@@ -48,9 +40,6 @@ jobs:
|
||||
}
|
||||
|
||||
$requiredFiles = @(
|
||||
(Join-Path $gpudirectDir "include\DVPAPI.h"),
|
||||
(Join-Path $gpudirectDir "lib\x64\dvp.lib"),
|
||||
(Join-Path $gpudirectDir "bin\x64\dvp.dll"),
|
||||
(Join-Path $slangRoot "bin\slangc.exe"),
|
||||
(Join-Path $slangRoot "bin\slang-compiler.dll"),
|
||||
(Join-Path $slangRoot "bin\slang-glslang.dll"),
|
||||
@@ -59,13 +48,12 @@ jobs:
|
||||
|
||||
$missingFiles = @($requiredFiles | Where-Object { -not (Test-Path -LiteralPath $_) })
|
||||
if ($missingFiles.Count -gt 0) {
|
||||
Write-Error "Missing native third-party dependencies. Set Gitea repository variables GPUDIRECT_DIR and SLANG_ROOT, or pre-populate the repo-local 3rdParty folder on the Windows runner. Missing: $($missingFiles -join ', ')"
|
||||
Write-Error "Missing native third-party dependencies. Set Gitea repository variable SLANG_ROOT, or pre-populate the repo-local 3rdParty folder on the Windows runner. Missing: $($missingFiles -join ', ')"
|
||||
exit 1
|
||||
}
|
||||
|
||||
Write-Host "Using GPUDIRECT_DIR=$gpudirectDir"
|
||||
Write-Host "Using SLANG_ROOT=$slangRoot"
|
||||
cmake --preset vs2022-x64-debug -DGPUDIRECT_DIR="$gpudirectDir" -DSLANG_ROOT="$slangRoot"
|
||||
cmake --preset vs2022-x64-debug -DSLANG_ROOT="$slangRoot"
|
||||
|
||||
- name: Build Debug
|
||||
shell: powershell
|
||||
@@ -122,14 +110,6 @@ jobs:
|
||||
- name: Configure Release
|
||||
shell: powershell
|
||||
run: |
|
||||
$gpudirectDir = "${{ vars.GPUDIRECT_DIR }}"
|
||||
if ([string]::IsNullOrWhiteSpace($gpudirectDir)) {
|
||||
$gpudirectDir = $env:GPUDIRECT_DIR
|
||||
}
|
||||
if ([string]::IsNullOrWhiteSpace($gpudirectDir)) {
|
||||
$gpudirectDir = Join-Path $PWD "3rdParty\Blackmagic DeckLink SDK 16.0\Win\Samples\NVIDIA_GPUDirect"
|
||||
}
|
||||
|
||||
$slangRoot = "${{ vars.SLANG_ROOT }}"
|
||||
if ([string]::IsNullOrWhiteSpace($slangRoot)) {
|
||||
$slangRoot = $env:SLANG_ROOT
|
||||
@@ -139,9 +119,6 @@ jobs:
|
||||
}
|
||||
|
||||
$requiredFiles = @(
|
||||
(Join-Path $gpudirectDir "include\DVPAPI.h"),
|
||||
(Join-Path $gpudirectDir "lib\x64\dvp.lib"),
|
||||
(Join-Path $gpudirectDir "bin\x64\dvp.dll"),
|
||||
(Join-Path $slangRoot "bin\slangc.exe"),
|
||||
(Join-Path $slangRoot "bin\slang-compiler.dll"),
|
||||
(Join-Path $slangRoot "bin\slang-glslang.dll"),
|
||||
@@ -150,13 +127,12 @@ jobs:
|
||||
|
||||
$missingFiles = @($requiredFiles | Where-Object { -not (Test-Path -LiteralPath $_) })
|
||||
if ($missingFiles.Count -gt 0) {
|
||||
Write-Error "Missing native third-party dependencies. Set Gitea repository variables GPUDIRECT_DIR and SLANG_ROOT, or pre-populate the repo-local 3rdParty folder on the Windows runner. Missing: $($missingFiles -join ', ')"
|
||||
Write-Error "Missing native third-party dependencies. Set Gitea repository variable SLANG_ROOT, or pre-populate the repo-local 3rdParty folder on the Windows runner. Missing: $($missingFiles -join ', ')"
|
||||
exit 1
|
||||
}
|
||||
|
||||
Write-Host "Using GPUDIRECT_DIR=$gpudirectDir"
|
||||
Write-Host "Using SLANG_ROOT=$slangRoot"
|
||||
cmake --preset vs2022-x64-release -DGPUDIRECT_DIR="$gpudirectDir" -DSLANG_ROOT="$slangRoot"
|
||||
cmake --preset vs2022-x64-release -DSLANG_ROOT="$slangRoot"
|
||||
|
||||
- name: Build Release
|
||||
shell: powershell
|
||||
|
||||
Reference in New Issue
Block a user