Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/jobs/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ parameters:
CC: ""
CXX: ""
JSEngine: ""
graphics_api: ""
enableSanitizers: false

jobs:
Expand All @@ -16,6 +17,10 @@ jobs:
SANITIZER_FLAG: ${{coalesce(replace(format('{0}', parameters.enableSanitizers), 'True', 'ON'), 'OFF')}}
CC: ${{parameters.CC}}
CXX: ${{parameters.CXX}}
${{if eq(parameters.graphics_api, '')}}:
graphicsApiDefine: ""
${{else}}:
graphicsApiDefine: "-D GRAPHICS_API=${{parameters.graphics_api}}"

steps:
- template: cmake.yml
Expand All @@ -24,7 +29,7 @@ jobs:

- script: |
sudo apt-get update
sudo apt-get install libjavascriptcoregtk-4.1-dev libgl1-mesa-dev libcurl4-openssl-dev libwayland-dev clang
sudo apt-get install libjavascriptcoregtk-4.1-dev libgl1-mesa-dev libcurl4-openssl-dev libwayland-dev clang libvulkan-dev vulkan-validationlayers
displayName: "Install packages"

- script: |
Expand Down
16 changes: 16 additions & 0 deletions .github/jobs/win32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,22 @@ jobs:
)
displayName: "Disable JIT Debugger for Script"

# Install Lavapipe (CPU-based Vulkan software renderer) for Vulkan CI testing.
# Microsoft-hosted agents have no GPU, so a software Vulkan ICD is required.
- powershell: |
$ProgressPreference = 'SilentlyContinue'
$url = "https://github.com/jakoch/rasterizers/releases/download/20260302/lavapipe-win64-25.2.5.zip"
$zipPath = "$(Agent.TempDirectory)\lavapipe.zip"
$extractPath = "$(Agent.TempDirectory)\lavapipe"
Invoke-WebRequest -Uri $url -OutFile $zipPath
Expand-Archive -Path $zipPath -DestinationPath $extractPath -Force
$icdJson = Get-ChildItem -Path $extractPath -Filter "*.json" -Recurse | Select-Object -First 1
Write-Host "Lavapipe ICD: $($icdJson.FullName)"
Write-Host "##vso[task.setvariable variable=VK_ICD_FILENAMES]$($icdJson.FullName)"
Write-Host "##vso[task.setvariable variable=VK_DRIVER_FILES]$($icdJson.FullName)"
displayName: "Install Lavapipe (Vulkan software renderer)"
condition: eq('${{parameters.graphics_api}}', 'Vulkan')

# Temporary disabling D3D12 validation tests. Changes in bgfx require changes in our D3D12 shader pipeline. This is been tracked by issue #1621
- script: |
cd build\${{variables.solutionName}}\Apps\Playground\RelWithDebInfo
Expand Down
Loading
Loading