mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
ci: Execute CI also an a runner with an AMD GPU.
In order for this to work it is expected that the Docker host exposes the devices in /dev/dri to the guest system, and that the render nodes have GID 800 (usually that would be the "render" group, but the GID for that group is dynamically assigned, so we explicitly agree on a fixed number).
This commit is contained in:
parent
a597dc8755
commit
52d52ad1b9
Notes:
Alexandre Julliard
2023-08-31 22:48:11 +02:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/318
@ -25,5 +25,15 @@
|
|||||||
paths:
|
paths:
|
||||||
- artifacts
|
- artifacts
|
||||||
|
|
||||||
build:
|
build-radv:
|
||||||
extends: .build
|
extends: .build
|
||||||
|
tags:
|
||||||
|
- amd-gpu
|
||||||
|
variables:
|
||||||
|
VK_LOADER_DRIVERS_SELECT: 'radeon_*'
|
||||||
|
|
||||||
|
build-llvmpipe:
|
||||||
|
extends: .build
|
||||||
|
allow_failure: true
|
||||||
|
variables:
|
||||||
|
VK_LOADER_DRIVERS_SELECT: 'lvp_*'
|
||||||
|
@ -35,6 +35,7 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
|
|||||||
cd ../.. && \
|
cd ../.. && \
|
||||||
rm -rf wine && \
|
rm -rf wine && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
useradd -m gitlab
|
groupadd host-render -g 800 && \
|
||||||
|
useradd -m gitlab -G host-render
|
||||||
|
|
||||||
USER gitlab
|
USER gitlab
|
||||||
|
Loading…
Reference in New Issue
Block a user