Fixing view spans logic #446
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 Platforms | |
on: | |
workflow_call: {} | |
workflow_dispatch: {} | |
pull_request: {} | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build ${{ matrix.platform_args }} - Xcode ${{ matrix.xcode_version }} | |
timeout-minutes: 30 | |
runs-on: macos-14 | |
strategy: | |
fail-fast: false | |
matrix: | |
platform_args: ["iOS tvOS"] # using a single string will run platforms in parallel | |
xcode_version: ["15.4"] | |
steps: | |
- name: Select Xcode | |
# See https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md | |
run: | | |
sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode_version }}.app | |
xcodebuild -version | |
- uses: actions/checkout@v4 | |
timeout-minutes: 4 | |
- name: Cache .build directory | |
uses: actions/cache@v4 | |
with: | |
path: .build | |
key: ${{ runner.os }}-build-${{ hashFiles('**/Package.resolved') }} | |
restore-keys: | | |
${{ runner.os }}-build- | |
- name: Run build script | |
run: | | |
bin/build ${{ matrix.platform_args }} | xcpretty && exit ${PIPESTATUS[0]} |