-
Notifications
You must be signed in to change notification settings - Fork 0
120 lines (94 loc) · 2.93 KB
/
Copy pathmain.yml
File metadata and controls
120 lines (94 loc) · 2.93 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
name: flutter
on:
push:
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
flutter-version-file: rentnerend/pubspec.yaml
- run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
- name: Compile m4
run: make f-m4
- name: Compile freezed
working-directory: rentnerend
run: dart run build_runner build --delete-conflicting-outputs
- name: Build Linux
working-directory: rentnerend
run: flutter build linux
- uses: actions/upload-artifact@v4
with:
name: interscore-linux
path: rentnerend/build/linux/x64/release/bundle/
android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
flutter-version-file: rentnerend/pubspec.yaml
- name: Compile m4
run: make f-m4
- name: Codegen
working-directory: rentnerend
run: dart run build_runner build --delete-conflicting-outputs
- name: Build Android APK
working-directory: rentnerend
run: flutter build apk --release
- uses: actions/upload-artifact@v4
with:
name: interscore-android
path: rentnerend/build/app/outputs/flutter-apk/app-release.apk
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
flutter-version-file: rentnerend/pubspec.yaml
- name: Install make
run: choco install make gnuwin32-m4
shell: powershell
- name: Compile m4
run: make f-m4
- name: Codegen
working-directory: rentnerend
run: dart run build_runner build --delete-conflicting-outputs
- name: Build Windows
working-directory: rentnerend
run: flutter build windows --release
- uses: actions/upload-artifact@v4
with:
name: interscore-windows
path: rentnerend/build/windows/x64/runner/Release/
web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
flutter-version-file: rentnerend/pubspec.yaml
- name: Compile m4
run: make f-m4
- name: Codegen
working-directory: rentnerend
run: dart run build_runner build --delete-conflicting-outputs
- name: Build web
working-directory: rentnerend
run: flutter build web --release
- uses: actions/upload-artifact@v4
with:
name: interscore-web
path: rentnerend/build/web/