File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -44,21 +44,28 @@ jobs:
44
44
uses : ./.github/actions/godot-deps
45
45
46
46
- name : Setup Vulkan SDK
47
+ id : vulkan-sdk
47
48
run : |
48
- sh misc/scripts/install_vulkan_sdk_macos.sh
49
+ if sh misc/scripts/install_vulkan_sdk_macos.sh; then
50
+ echo "VULKAN_ENABLED=yes" >> "$GITHUB_OUTPUT"
51
+ else
52
+ echo "::warning::macOS: Vulkan SDK installation failed, building without Vulkan support."
53
+ echo "VULKAN_ENABLED=no" >> "$GITHUB_OUTPUT"
54
+ fi
55
+ continue-on-error : true
49
56
50
57
- name : Compilation (x86_64)
51
58
uses : ./.github/actions/godot-build
52
59
with :
53
- sconsflags : ${{ env.SCONSFLAGS }} arch=x86_64
60
+ sconsflags : ${{ env.SCONSFLAGS }} arch=x86_64 vulkan=${{ steps.vulkan-sdk.outputs.VULKAN_ENABLED }}
54
61
platform : macos
55
62
target : ${{ matrix.target }}
56
63
tests : ${{ matrix.tests }}
57
64
58
65
- name : Compilation (arm64)
59
66
uses : ./.github/actions/godot-build
60
67
with :
61
- sconsflags : ${{ env.SCONSFLAGS }} arch=arm64
68
+ sconsflags : ${{ env.SCONSFLAGS }} arch=arm64 vulkan=${{ steps.vulkan-sdk.outputs.VULKAN_ENABLED }}
62
69
platform : macos
63
70
target : ${{ matrix.target }}
64
71
tests : ${{ matrix.tests }}
You can’t perform that action at this time.
0 commit comments