-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (47 loc) · 1.4 KB
/
run_ci_flutter.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Run CI flutter
on:
push:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # every sunday at midnight
jobs:
test:
name: Test on ${{ matrix.os }} / ${{ matrix.flutter }}
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: repo_support
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
flutter: stable
- os: ubuntu-latest
flutter: beta
- os: windows-latest
flutter: stable
- os: macos-latest
flutter: stable
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11.x'
- uses: subosito/flutter-action@v2
with:
channel: ${{ matrix.flutter }}
- run: flutter --version
- run: flutter upgrade
- run: dart --version
- name: Install libsqlite3
run: |
dart pub global activate --source git https://github.com/tekartik/ci.dart --git-path ci --git-ref dart3a
dart pub global run tekartik_ci:setup_sqlite3lib
- name: Install libportaudio
run: |
dart pub global activate --source git https://github.com/tekartik/ci.dart --git-path ci --git-ref dart3a
dart pub global run tekartik_ci:setup_portaudiolib
- run: dart pub get
- run: dart run tool/run_ci.dart