Merge pull request #7 from natsuk4ze/Throw-Exception-when-compass-not… #19
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
# Runner details on https://github.com/actions/runner-images/tree/main/images | |
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
set-up: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel | |
uses: styfle/cancel-workflow-action@0.12.1 | |
with: | |
access_token: ${{ github.token }} | |
ios: | |
needs: set-up | |
timeout-minutes: 60 | |
strategy: | |
matrix: | |
ios-version: [16,17] | |
fail-fast: false | |
runs-on: macos-13 | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Setup Flutter SDK | |
timeout-minutes: 10 | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: beta | |
- name: Boot ios simulator | |
uses: futureware-tech/simulator-action@v3 | |
with: | |
model: iPhone 14 Pro Max | |
os_version: ^${{ matrix.ios-version }} | |
- name: Build example | |
timeout-minutes: 20 | |
run: | | |
cd example | |
flutter build ios --no-codesign | |
#TODO: Integration tests | |
#TODO: Android |