-
Notifications
You must be signed in to change notification settings - Fork 57
41 lines (40 loc) · 1.01 KB
/
test_linux_x64.yaml
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
name: Test if the example app still builds on Linux x64
on:
push:
branches: ["main"]
paths:
- "common/**"
- "example/**"
- "lib/**"
- "linux/**"
- "third/**"
- "pubspec.yaml"
- ".github/workflows/test_linux_x64.yaml"
pull_request:
paths:
- "common/**"
- "example/**"
- "lib/**"
- "linux/**"
- "third/**"
- "pubspec.yaml"
- ".github/workflows/test_linux_x64.yaml"
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev clang cmake pkg-config build-essential
- run: flutter --version
- run: lsb_release -a
- run: clang --version
- run: cmake --version
- run: g++ --version
- run: (cd example && flutter build linux)