mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
.build:
|
|
stage: build
|
|
rules:
|
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
|
image: $CI_REGISTRY/wine/vkd3d:debian-bookworm
|
|
interruptible: true
|
|
needs:
|
|
- job: build-image
|
|
optional: true
|
|
dependencies: []
|
|
script:
|
|
- git config --global --add safe.directory $CI_PROJECT_DIR
|
|
- git clean -fdx
|
|
- git reset --hard
|
|
- rm -fr .git/rebase-merge
|
|
- mkdir artifacts
|
|
- cat /proc/cpuinfo > artifacts/cpuinfo.txt
|
|
- cat /proc/meminfo > artifacts/meminfo.txt
|
|
- vulkaninfo > artifacts/vulkaninfo.txt
|
|
- git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec ./gitlab/build-linux
|
|
- if [ -f pipeline_failed ] ; then exit 1 ; fi
|
|
artifacts:
|
|
when: always
|
|
expire_in: 1 day
|
|
paths:
|
|
- artifacts
|
|
|
|
build-radv-64:
|
|
extends: .build
|
|
tags:
|
|
- amd-gpu
|
|
variables:
|
|
VK_LOADER_DRIVERS_SELECT: 'radeon_*'
|
|
|
|
build-llvmpipe-64:
|
|
extends: .build
|
|
allow_failure: true
|
|
variables:
|
|
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'
|