-
Notifications
You must be signed in to change notification settings - Fork 16
112 lines (91 loc) · 2.17 KB
/
build.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
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
name: SailfishConnect build
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
env:
RELEASE: 4.0.1.48
jobs:
build-armv7hl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/cache@v2
with:
path: .venv-conan-*
key: venv-cache4-armv7hl
- uses: actions/cache@v2
with:
path: .conan/data
key: conan-cache2-4.0.1-armv7hl
- name: Check style
run: python3 scripts/bad-style.py bad-style.xml
- name: Build armv7hl RPMS
uses: R1tschY/sailfish-build-rpm@v1
with:
arch: 'armv7hl'
release: '4.0.1.48'
fix-version: false
enable-debug: true
- name: Upload build result
uses: actions/upload-artifact@v2
with:
name: sailfishconnect-armv7hl
path: RPMS
build-i486:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/cache@v2
with:
path: .venv-conan-*
key: venv-cache4-i486
- uses: actions/cache@v2
with:
path: .conan/data
key: conan-cache2-4.0.1-i486
- name: Build i486 RPMS
uses: R1tschY/sailfish-build-rpm@v1
with:
arch: 'i486'
release: '4.0.1.48'
fix-version: false
enable-debug: true
- name: Upload build result
uses: actions/upload-artifact@v2
with:
name: sailfishconnect-i486
path: RPMS
build-aarch64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/cache@v2
with:
path: .venv-conan-*
key: venv-cache4-aarch64
- uses: actions/cache@v2
with:
path: .conan/data
key: conan-cache2-4.0.1-aarch64
- name: Build aarch64 RPMS
uses: R1tschY/sailfish-build-rpm@v1
with:
arch: 'aarch64'
release: '4.0.1.48'
fix-version: false
enable-debug: true
- name: Upload build result
uses: actions/upload-artifact@v2
with:
name: sailfishconnect-aarch64
path: RPMS