-
Notifications
You must be signed in to change notification settings - Fork 5
62 lines (52 loc) · 1.2 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
name: SailfishOS build
on:
push:
branches:
- master
pull_request:
branches:
- master
release:
types:
- published
jobs:
clang-format-checking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: RafikFarhad/clang-format-github-action@v1
with:
sources: "src/**/*.h,src/**/*.c,test/**/*.c"
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Prepare
run: mkdir output
- name: Build armv7hl
id: build_armv7hl
uses: bionade24/github-sfos-build@master
with:
release: 4.5.0.16
- name: Build aarch64
id: build_aarch64
uses: bionade24/github-sfos-build@master
with:
release: 4.5.0.16
arch: aarch64
- name: Build i486
id: build_i486
uses: bionade24/github-sfos-build@master
with:
release: 4.5.0.16
arch: i486
- name: Upload build result
uses: actions/upload-artifact@v2
with:
name: rpms
path: RPMS
- name: Upload release assets
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: RPMS/*