Add updated iOS App support to the Vulkan examples #545
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Project | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build_ubuntu_x11: | |
name: Build Ubuntu | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
- name: Build | |
run: | | |
cmake . | |
make | |
build_windows: | |
name: Build Windows | |
runs-on: windows-latest | |
steps: | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
- name: Build | |
env: | |
TARGET_PLATFORM: windows | |
run: | | |
cmake . | |
cmake --build . | |
build_macOS: | |
name: Build Mac | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
- name: Setup | |
run: | | |
curl -L "https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.dmg" -o /tmp/vulkan-sdk.dmg | |
hdiutil attach /tmp/vulkan-sdk.dmg -mountpoint /Volumes/vulkan-sdk | |
/Volumes/vulkan-sdk/InstallVulkan.app/Contents/MacOS/InstallVulkan \ | |
--root ~/VulkanSDK/latest --accept-licenses --default-answer --confirm-command install | |
cd ~/VulkanSDK/latest | |
sudo python ./install_vulkan.py | |
brew install libomp | |
brew --prefix libomp | |
- name: Build | |
run: | | |
cmake -G "Xcode" -DOpenMP_omp_LIBRARY=/usr/local/opt/libomp/lib/libomp.dylib | |
cmake --build . |