Trying to fix MacOS/iOS CI
This commit is contained in:
parent
d0ea039a77
commit
447190243f
1 changed files with 8 additions and 12 deletions
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
|
|
@ -55,12 +55,10 @@ jobs:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
- name: Setup
|
- name: Setup
|
||||||
run: |
|
run: |
|
||||||
curl -L "https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.dmg" -o /tmp/vulkan-sdk.dmg
|
curl -L "https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.zip" -o /tmp/vulkan-sdk.zip
|
||||||
hdiutil attach /tmp/vulkan-sdk.dmg -mountpoint /Volumes/vulkan-sdk
|
unzip /tmp/vulkan-sdk.zip -d /tmp
|
||||||
/Volumes/vulkan-sdk/InstallVulkan.app/Contents/MacOS/InstallVulkan \
|
/tmp/InstallVulkan.app/Contents/MacOS/InstallVulkan \
|
||||||
--root ~/VulkanSDK/latest --accept-licenses --default-answer --confirm-command install
|
--accept-licenses --default-answer --confirm-command install
|
||||||
cd ~/VulkanSDK/latest
|
|
||||||
sudo python ./install_vulkan.py
|
|
||||||
brew install libomp
|
brew install libomp
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -77,12 +75,10 @@ jobs:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
- name: Setup
|
- name: Setup
|
||||||
run: |
|
run: |
|
||||||
curl -L "https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.dmg" -o /tmp/vulkan-sdk.dmg
|
curl -L "https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.zip" -o /tmp/vulkan-sdk.zip
|
||||||
hdiutil attach /tmp/vulkan-sdk.dmg -mountpoint /Volumes/vulkan-sdk
|
unzip /tmp/vulkan-sdk.zip -d /tmp
|
||||||
/Volumes/vulkan-sdk/InstallVulkan.app/Contents/MacOS/InstallVulkan \
|
/tmp/InstallVulkan.app/Contents/MacOS/InstallVulkan \
|
||||||
--root ~/VulkanSDK/latest --accept-licenses --default-answer --confirm-command install
|
--accept-licenses --default-answer --confirm-command install
|
||||||
cd ~/VulkanSDK/latest
|
|
||||||
sudo python ./install_vulkan.py
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cd apple
|
cd apple
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue