Build Example Project #84
This file contains hidden or 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 Example Project | |
| on: | |
| workflow_dispatch: {} | |
| pull_request: | |
| branches: | |
| - main | |
| - develop | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build example project (Xcode ${{ matrix.xcode }}) | |
| runs-on: macos-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - xcode: 16.1 | |
| destination: iPhone 15 | |
| os: 18.1 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Select Xcode version | |
| run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app | |
| - name: Build | |
| run: | | |
| set -o pipefail &&\ | |
| xcodebuild build\ | |
| -project Example/Example.xcodeproj\ | |
| -scheme Example\ | |
| -sdk iphonesimulator\ | |
| -destination "platform=iOS Simulator,name=${{ matrix.destination }},OS=${{ matrix.os }}"\ | |
| | xcbeautify --renderer github-actions |