mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
ci: Test DXIL shaders on macOS.
This unfortunately introduces a lot of failures, because it turns out there is still work to do there. But at least we can estimate how bad we're doing.
This commit is contained in:
parent
19c699870b
commit
ca309e439a
Notes:
Henri Verbeet
2024-10-17 17:40:01 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1192
@ -11,7 +11,7 @@ rm -fr build
|
|||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
if ../configure CFLAGS="-I/opt/homebrew/opt/vulkan-headers/include -I/opt/homebrew/opt/spirv-headers/include -g -O2 -Wno-implicit-fallthrough -Wno-ignored-attributes -Wno-unknown-attributes -Wno-unused-but-set-variable -Werror" \
|
if ../configure CFLAGS="-I/opt/homebrew/opt/vulkan-headers/include -I/opt/homebrew/opt/spirv-headers/include -g -O2 -Wno-implicit-fallthrough -Wno-ignored-attributes -Wno-unknown-attributes -Wno-unused-but-set-variable -Werror" \
|
||||||
CPPFLAGS="-DVKD3D_ABORT_ON_ERR -DVKD3D_SHADER_UNSUPPORTED_MSL" \
|
CPPFLAGS="-DVKD3D_ABORT_ON_ERR -DVKD3D_SHADER_UNSUPPORTED_DXIL -DVKD3D_SHADER_UNSUPPORTED_MSL" \
|
||||||
VULKAN_LIBS=-L/opt/homebrew/opt/vulkan-loader/lib --with-spirv-tools && \
|
VULKAN_LIBS=-L/opt/homebrew/opt/vulkan-loader/lib --with-spirv-tools && \
|
||||||
make -j$(sysctl -n hw.ncpu) ; then
|
make -j$(sysctl -n hw.ncpu) ; then
|
||||||
make -j$(sysctl -n hw.ncpu) AM_COLOR_TESTS=always check || \
|
make -j$(sysctl -n hw.ncpu) AM_COLOR_TESTS=always check || \
|
||||||
|
@ -157,6 +157,7 @@ build-mac:
|
|||||||
- mkdir artifacts
|
- mkdir artifacts
|
||||||
- export PATH="/opt/homebrew/opt/bison/bin:/opt/homebrew/opt/flex/bin:$PATH"
|
- export PATH="/opt/homebrew/opt/bison/bin:/opt/homebrew/opt/flex/bin:$PATH"
|
||||||
- export VK_DRIVER_FILES="$PWD/image/moltenvk/MoltenVK_icd.json"
|
- export VK_DRIVER_FILES="$PWD/image/moltenvk/MoltenVK_icd.json"
|
||||||
|
- export SONAME_LIBDXCOMPILER="$PWD/image/dxc/libdxcompiler.dylib"
|
||||||
- system_profiler SPSoftwareDataType SPHardwareDataType > artifacts/systeminfo.txt
|
- system_profiler SPSoftwareDataType SPHardwareDataType > artifacts/systeminfo.txt
|
||||||
- vulkaninfo > artifacts/vulkaninfo.txt
|
- vulkaninfo > artifacts/vulkaninfo.txt
|
||||||
- git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec ./gitlab/build-mac
|
- git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec ./gitlab/build-mac
|
||||||
|
Loading…
Reference in New Issue
Block a user