-
Notifications
You must be signed in to change notification settings - Fork 18
39 lines (38 loc) · 1.14 KB
/
build.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
name: Build
on: [push]
jobs:
build-and-check-package:
name: Build and check package
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build package
run: |
packaging/build-package-deb.sh ${{github.sha}} ubuntu amd64
- name: Upload package
uses: actions/upload-artifact@v2
with:
name: jfbview_${{github.sha}}_amd64.deb
path: upload/*.deb
- name: Check package
run: packaging/check-package-deb.sh
build-full-source-package:
name: Build full source package
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build full source package
run: |
sudo -H pip3 install git-archive-all && \
packaging/build-package-full-source.sh ${{github.sha}}
- name: Upload full source package
uses: actions/upload-artifact@v2
with:
name: jfbview-${{github.sha}}-full-source.zip
path: upload/*.zip