build(deps): bump the github-actions group across 1 directory with 5 updates #19
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: lukka/get-cmake@71b7adfe2603f48bb9ed50d2b01a72499ae94885 # v3.31.0 | |
- 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 |