spirv-tools: vendor as full-fork recipe (path=source, patches baked)
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
name: iOS
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
# iOS is 10x expensive to run on GitHub machines, so only run if we know something else passed
|
||||
workflows: ["Wasm Build"]
|
||||
types:
|
||||
- completed
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-latest
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: lukka/get-cmake@e6906078ebd1ccb8ce51ab4626ac46a1b5a517e3 # v4.4.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
|
||||
Reference in New Issue
Block a user