mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
ci: Build vkd3d with MinGW too.
Nowadays vkd3d is probably most commonly used compiled as PE rather then ELF, so it makes sense to at least ensure that compilation succeeds. In the future it would be nice to somehow test these binaries as well.
This commit is contained in:
committed by
Alexandre Julliard
parent
f61c853f61
commit
e85e2417d5
Notes:
Alexandre Julliard
2023-09-27 22:59:20 +02:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/362
@@ -82,6 +82,41 @@ build-crosstest:
|
||||
paths:
|
||||
- artifacts
|
||||
|
||||
.build-mingw:
|
||||
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
|
||||
- git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec ./gitlab/build-mingw
|
||||
- if [ -f pipeline_failed ] ; then exit 1 ; fi
|
||||
artifacts:
|
||||
when: always
|
||||
paths:
|
||||
- artifacts
|
||||
|
||||
build-mingw-64:
|
||||
extends: .build-mingw
|
||||
variables:
|
||||
HOST: "x86_64-w64-mingw32"
|
||||
|
||||
build-mingw-32:
|
||||
extends: .build-mingw
|
||||
variables:
|
||||
HOST: "i686-w64-mingw32"
|
||||
|
||||
build-mac:
|
||||
stage: build
|
||||
rules:
|
||||
|
Reference in New Issue
Block a user