add support for vulkan-shader-profiler external passes #317
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: iOS | |
permissions: | |
contents: read | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ macos-12, macos-13 ] | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: lukka/get-cmake@139aae96315b496d9af1b5e9abe53b15ca7eece8 # v3.28.3 | |
- name: Download dependencies | |
run: python3 utils/git-sync-deps | |
# NOTE: The MacOS SDK ships universal binaries. CI should reflect this. | |
- name: Configure Universal Binary for iOS | |
run: | | |
cmake -S . -B build \ | |
-D CMAKE_BUILD_TYPE=Debug \ | |
-D CMAKE_SYSTEM_NAME=iOS \ | |
"-D CMAKE_OSX_ARCHITECTURES=arm64;x86_64" \ | |
-G Ninja | |
env: | |
# Linker warnings as errors | |
LDFLAGS: -Wl,-fatal_warnings | |
- run: cmake --build build | |
- run: cmake --install build --prefix /tmp |