Nightly #2108
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: Nightly | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| # Every night at 03:00 | |
| - cron: '0 3 * * *' | |
| jobs: | |
| minVersion: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/cirruslabs/flutter:3.19.0 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| ref: stable | |
| - name: Flutter version | |
| run: flutter doctor -v | |
| # Only resolve the wiredash package and the 3.19 sample; other examples | |
| # use Kotlin Gradle / Dart 3.4+ APIs that Flutter 3.19 can't process. | |
| - name: Download dependencies (wiredash) | |
| run: flutter pub get | |
| - name: Download dependencies (old_flutter_3_19_0) | |
| working-directory: examples/old_flutter_3_19_0 | |
| run: flutter pub get | |
| - name: Test | |
| run: ./wiresdk test | |
| - name: Build | |
| working-directory: examples/old_flutter_3_19_0 | |
| run: ./../../wiresdk flutter build web | |
| stable: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/cirruslabs/flutter:stable | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| ref: stable | |
| - name: Flutter version | |
| run: flutter doctor -v | |
| - name: Download dependencies | |
| run: ./wiresdk deps | |
| - name: Test | |
| run: ./wiresdk test | |
| - name: Build | |
| run: cd examples/theming && ./../../wiresdk flutter build web | |
| beta: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/cirruslabs/flutter:beta | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| ref: beta | |
| - name: Flutter version | |
| run: flutter doctor -v | |
| - name: Build | |
| run: cd examples/theming && ./../../wiresdk flutter build web | |
| - name: Download dependencies | |
| run: | | |
| # Override dependencies as long as we depend on checks 0.2.2 | |
| ./wiresdk flutter pub add 'override:test_api:">=0.3.0 <1.0.0"' | |
| ./wiresdk flutter pub add 'override:meta:">=1.14.0 <2.0.0"' | |
| ./wiresdk deps | |
| - name: Test | |
| run: ./wiresdk test | |
| latest: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/cirruslabs/flutter:latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| ref: beta | |
| - name: Flutter version | |
| run: flutter doctor -v | |
| - name: Download dependencies | |
| run: ./wiresdk deps | |
| - name: Test | |
| run: ./wiresdk test | |
| - name: Build | |
| run: cd examples/theming && ./../../wiresdk flutter build web |