ci: Run the tests on a 32 bit Linux system.

This commit is contained in:
Giovanni Mascellani 2023-08-31 22:37:53 +02:00 committed by Alexandre Julliard
parent fdaacb158e
commit f525e9e93a
Notes: Alexandre Julliard 2023-09-04 22:15:58 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/322
2 changed files with 21 additions and 6 deletions

View File

@ -11,10 +11,10 @@ testing, and uploads it to the GitLab container registry. The Docker
script is in the file image.docker. script is in the file image.docker.
The file build.yml contains the actual testing targets. Currently The file build.yml contains the actual testing targets. Currently
vkd3d is tested on Linux x86-64, with two different Vulkan drivers vkd3d is tested on Linux, on x86-64 and i386, each architecture with
(both from Mesa): llvmpipe (a software implementation) and RADV (a two different Vulkan drivers (both from Mesa): llvmpipe (a software
hardware implementation backed by an AMD GPU). The testing logs are implementation) and RADV (a hardware implementation backed by an AMD
available as CI artifacts. GPU). The testing logs are available as CI artifacts.
Some custom runner configuration is required in order to run the tests Some custom runner configuration is required in order to run the tests
on an AMD GPU. Specifically, a runner tagged with `amd-gpu' must be on an AMD GPU. Specifically, a runner tagged with `amd-gpu' must be

View File

@ -25,15 +25,30 @@
paths: paths:
- artifacts - artifacts
build-radv: build-radv-64:
extends: .build extends: .build
tags: tags:
- amd-gpu - amd-gpu
variables: variables:
VK_LOADER_DRIVERS_SELECT: 'radeon_*' VK_LOADER_DRIVERS_SELECT: 'radeon_*'
build-llvmpipe: build-llvmpipe-64:
extends: .build extends: .build
allow_failure: true allow_failure: true
variables: variables:
VK_LOADER_DRIVERS_SELECT: 'lvp_*' VK_LOADER_DRIVERS_SELECT: 'lvp_*'
build-radv-32:
extends: .build
tags:
- amd-gpu
variables:
VK_LOADER_DRIVERS_SELECT: 'radeon_*'
CC: 'gcc -m32'
build-llvmpipe-32:
extends: .build
allow_failure: true
variables:
VK_LOADER_DRIVERS_SELECT: 'lvp_*'
CC: 'gcc -m32'