forked from zulip/zulip-flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (38 loc) · 1.2 KB
/
ci.yml
File metadata and controls
52 lines (38 loc) · 1.2 KB
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
49
50
51
52
name: CI
on: [push, pull_request]
permissions:
contents: read
jobs:
check:
name: "analyze, test, generate"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: Install system dependencies
run: TERM=dumb sudo apt install libsqlite3-dev -y
- name: Clone Flutter SDK
run: tools/ci/clone-flutter-sdk
- name: Download Flutter SDK artifacts (flutter precache)
run: flutter precache --universal
- name: Download our dependencies (flutter pub get)
run: flutter pub get
- name: Run tools/check
run: TERM=dumb tools/check --no-pub --all --output ci --exclude android
android:
name: "Android build and lint"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 17
distribution: temurin
- name: Clone Flutter SDK
run: tools/ci/clone-flutter-sdk
- name: Download Flutter SDK artifacts (flutter precache)
run: flutter precache --universal
- name: Download our dependencies (flutter pub get)
run: flutter pub get
- name: Run tools/check
run: TERM=dumb tools/check --all --output ci android