File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env sh
2+
3+ set -euo pipefail
4+ IFS=$' \n\t '
5+
6+ # Download and install the Vulkan SDK.
7+ curl -L " https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.dmg" -o /tmp/vulkan-sdk.dmg
8+ hdiutil attach /tmp/vulkan-sdk.dmg -mountpoint /Volumes/vulkan-sdk
9+ /Volumes/vulkan-sdk/InstallVulkan.app/Contents/MacOS/InstallVulkan \
10+ --accept-licenses --default-answer --confirm-command install
11+
12+ cnt=5
13+ until hdiutil detach -force /Volumes/vulkan-sdk
14+ do
15+ [[ cnt -eq " 0" ]] && break
16+ sleep 1
17+ (( cnt-- ))
18+ done
19+
20+ rm -f /tmp/vulkan-sdk.dmg
21+
22+ echo ' Vulkan SDK installed successfully! You can now build Godot by running "scons".'
Original file line number Diff line number Diff line change 6565 uses : ./godot-engine/.github/actions/godot-deps
6666 - name : Setup Vulkan SDK
6767 run : |
68- sh ./godot-engine/misc/scripts/install_vulkan_sdk_macos.sh
68+ chmod +x ./.github/workflows/install_vulkan_sdk_macos.sh
69+ ./.github/workflows/install_vulkan_sdk_macos.sh
6970 - name : Setup Godot build cache
7071 uses : ./godot-engine/.github/actions/godot-cache
7172 with :
You can’t perform that action at this time.
0 commit comments