2023-11-15 11:30:59 +00:00
|
|
|
.test-win:
|
2023-09-26 09:20:39 +00:00
|
|
|
stage: test
|
|
|
|
rules:
|
|
|
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
|
|
|
interruptible: true
|
|
|
|
needs:
|
|
|
|
- job: build-crosstest
|
|
|
|
tags:
|
|
|
|
- win10-21h2
|
|
|
|
script:
|
2023-11-15 10:08:36 +00:00
|
|
|
- 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 }
|
2023-09-26 09:20:39 +00:00
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- artifacts
|
|
|
|
|
2023-11-15 11:30:59 +00:00
|
|
|
test-win-64:
|
|
|
|
extends: .test-win
|
|
|
|
variables:
|
|
|
|
TEST_ARCH: "64"
|
2024-05-27 18:13:53 +00:00
|
|
|
VKD3D_TEST_SKIP_DXC: "1"
|
2023-11-15 11:30:59 +00:00
|
|
|
|
2023-09-26 09:20:39 +00:00
|
|
|
test-win-32:
|
2023-11-15 11:30:59 +00:00
|
|
|
extends: .test-win
|
2023-09-26 09:20:39 +00:00
|
|
|
variables:
|
|
|
|
TEST_ARCH: "32"
|
2024-05-27 18:13:53 +00:00
|
|
|
VKD3D_TEST_SKIP_DXC: "1"
|
2024-04-19 21:41:55 +00:00
|
|
|
|
|
|
|
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:
|
2024-10-24 09:56:54 +00:00
|
|
|
- 'Invoke-WebRequest -Uri "https://github.com/microsoft/DirectXShaderCompiler/releases/download/v1.8.2407/dxc_2024_07_31.zip" -OutFile ".\dxc.zip"'
|
2024-04-19 21:41:55 +00:00
|
|
|
- '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
|