mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
ci: Run the tests on macOS.
This commit is contained in:
committed by
Alexandre Julliard
parent
45541dd9b2
commit
d72c91ef97
Notes:
Alexandre Julliard
2023-09-14 22:20:40 +02:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/328
12
gitlab/patch_moltenvk_icd.sh
Executable file
12
gitlab/patch_moltenvk_icd.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
BASE_PATH="/usr/local/opt/molten-vk/share/vulkan/icd.d"
|
||||
|
||||
cp "$BASE_PATH/MoltenVK_icd.json" gitlab/MoltenVK_icd.json
|
||||
|
||||
# The driver path is relative
|
||||
sed -i -e 's|"library_path" *: "|"library_path" : "'"$BASE_PATH/"'|g' gitlab/MoltenVK_icd.json
|
||||
|
||||
# We pretend this is not a portability driver, otherwise vkd3d won't
|
||||
# find it
|
||||
sed -i -e 's|"is_portability_driver" *: *true|"is_portability_driver" : false|g' gitlab/MoltenVK_icd.json
|
||||
Reference in New Issue
Block a user