mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
Pin llvmpipe version, expand test matrix with a single enableGPU target
This commit is contained in:
parent
109ee86310
commit
439bc78790
6
.github/workflows/build-tests-windows.yml
vendored
6
.github/workflows/build-tests-windows.yml
vendored
@ -26,6 +26,12 @@ jobs:
|
||||
- StandaloneWindows64 # Build a Windows 64-bit standalone.
|
||||
- WSAPlayer # Build a UWP App
|
||||
- tvOS # Build an Apple TV XCode project
|
||||
include:
|
||||
# Additionally test enableGPU build for a standalone windows target
|
||||
- projectPath: test-project
|
||||
unityVersion: 2023.2.2f1
|
||||
targetPlatform: StandaloneWindows64
|
||||
enableGPU: true
|
||||
|
||||
steps:
|
||||
###########################
|
||||
|
6
dist/platforms/windows/entrypoint.ps1
vendored
6
dist/platforms/windows/entrypoint.ps1
vendored
@ -13,8 +13,10 @@ Get-Process -Name regsvr32 | ForEach-Object { Stop-Process -Id $_.Id -Force }
|
||||
# Setup Git Credentials
|
||||
. "c:\steps\set_gitcredential.ps1"
|
||||
|
||||
# Install LLVMpipe software graphics driver
|
||||
. "c:\steps\install_llvmpipe.ps1"
|
||||
if ($env:ENABLE_GPU -ne "true") {
|
||||
# Install LLVMpipe software graphics driver
|
||||
. "c:\steps\install_llvmpipe.ps1"
|
||||
}
|
||||
|
||||
# Activate Unity
|
||||
if ($env:SKIP_ACTIVATION -ne "true") {
|
||||
|
4
dist/platforms/windows/install_llvmpipe.ps1
vendored
4
dist/platforms/windows/install_llvmpipe.ps1
vendored
@ -6,8 +6,8 @@ $Private:destinationPath = "$Env:UNITY_PATH\Editor\"
|
||||
$LLVMPIPE_INSTALLED = "false"
|
||||
|
||||
try {
|
||||
# Get the latest release info from GitHub API
|
||||
$releaseUrl = "https://api.github.com/repos/$repo/releases/latest"
|
||||
# Get the 25.1.0 release info from GitHub API (version fixed to decrease probability of breakage)
|
||||
$releaseUrl = "https://api.github.com/repos/$repo/releases/25.1.0"
|
||||
$release = Invoke-RestMethod -Uri $releaseUrl -Headers @{ "User-Agent" = "PowerShell" }
|
||||
|
||||
# Get the download URL for the zip asset
|
||||
|
Loading…
Reference in New Issue
Block a user