mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
ci: Run crosstests with DXC too.
This is added as a new job because some tests currently fail. A 32 bit job is not created, instead, because a 32 bit dxcompiler.dll is not available.
This commit is contained in:
parent
09630ada90
commit
9241e1bcd3
Notes:
Alexandre Julliard
2024-04-22 23:38:29 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/810
@ -26,3 +26,24 @@ test-win-32:
|
||||
variables:
|
||||
TEST_ARCH: "32"
|
||||
VKD3D_TESTS_SKIP_DXC: "1"
|
||||
|
||||
test-win-64-dxc:
|
||||
stage: test
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||
interruptible: true
|
||||
allow_failure: true
|
||||
needs:
|
||||
- job: build-crosstest
|
||||
tags:
|
||||
- win10-21h2
|
||||
script:
|
||||
- 'Invoke-WebRequest -Uri "https://github.com/microsoft/DirectXShaderCompiler/releases/download/v1.7.2308/dxc_2023_08_14.zip" -OutFile ".\dxc.zip"'
|
||||
- 'Expand-Archive -Path "dxc.zip" -DestinationPath ".\dxc"'
|
||||
- '$Env:PATH += ";" + (Convert-Path ".\dxc\bin\x64")'
|
||||
- git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec './artifacts/driver.cross64.exe $(git cherry $CI_MERGE_REQUEST_DIFF_BASE_SHA HEAD^ | wc -l) $(git rev-parse --short HEAD)'
|
||||
- if (Test-Path "pipeline_failed") { exit 1 }
|
||||
artifacts:
|
||||
when: always
|
||||
paths:
|
||||
- artifacts
|
||||
|
Loading…
Reference in New Issue
Block a user