prerelease 1.0.0 #45
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '*' | |
workflow_dispatch: | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
library: | |
strategy: | |
matrix: | |
platform: | |
- iOS Simulator,name=iPhone 14 Pro | |
- macOS | |
- macOS,variant=Mac Catalyst | |
- tvOS Simulator,name=Apple TV | |
- watchOS Simulator,name=Apple Watch Series 8 (41mm) | |
runs-on: macos-13 | |
name: Test Library | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Select Xcode 14.3 | |
run: sudo xcode-select -s /Applications/Xcode_14.3.app | |
- name: Run tests | |
run: env PLATFORM="${{ matrix.platform }}" make test-library | |
example: | |
strategy: | |
matrix: | |
platform: | |
- iOS Simulator,name=iPhone 14 Pro | |
example: | |
- Examples | |
- ProductSample | |
runs-on: macos-13 | |
name: Build Example | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Select Xcode 14.3 | |
run: sudo xcode-select -s /Applications/Xcode_14.3.app | |
- name: Run pre-build script | |
run: sh Examples/${{ matrix.example }}/.ci/pre_build.sh || exit 0; | |
- name: Build example | |
run: env PLATFORM="${{ matrix.platform }}" EXAMPLE="${{ matrix.example }}" make build-example |