mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-10-18 11:10:05 +00:00
fc42865562
Bumps the github-actions group with 2 updates: [lukka/get-cmake](https://github.com/lukka/get-cmake) and [github/codeql-action](https://github.com/github/codeql-action). Updates `lukka/get-cmake` from 3.28.4 to 3.29.0 - [Release notes](https://github.com/lukka/get-cmake/releases) - [Commits](70abef7192...9438b96ac9
) Updates `github/codeql-action` from 3.24.8 to 3.24.9 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](05963f47d8...1b1aada464
) --- updated-dependencies: - dependency-name: lukka/get-cmake dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
31 lines
976 B
YAML
31 lines
976 B
YAML
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@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
|
|
- uses: lukka/get-cmake@9438b96ac95a2a8b02548f63800926db324f7c03 # v3.29.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
|