Specify platform for doc build #1360
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 | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build-framework: | |
runs-on: self-hosted | |
continue-on-error: true | |
strategy: | |
matrix: | |
destination: [ | |
'macOS', | |
'iOS Simulator,name=iPhone 15', | |
'tvOS Simulator,name=Apple TV', | |
'watchOS Simulator,name=Apple Watch Series 9 (41mm)' | |
] | |
xcode: [ | |
'15.2', | |
'15.3', | |
] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Gems | |
run: bundle install | |
- name: Build framework | |
env: | |
DESTINATION: platform=${{ matrix.destination }} | |
XCODE_VERSION: ${{ matrix.xcode }} | |
run: bundle exec fastlane build_ci |