-
Notifications
You must be signed in to change notification settings - Fork 7
83 lines (67 loc) · 1.94 KB
/
linux-release-binaries.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
name: Linux Release Builds
on:
create:
workflow_dispatch:
schedule:
- cron: '0 10 * * 1'
jobs:
build-debian:
name: Debian
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create Build Environment
run: cd contrib/ci/ && podman build -t pomidaq -f Dockerfile-debian .
- name: Build
run: |
podman run -t -e COMPILER_VENDOR=$CVENDOR -e CC=gcc -e CXX=g++ \
-e [email protected] \
-v `pwd`:/build pomidaq ./contrib/ci/cibuild.sh
- name: Upload Debian package artifact
uses: actions/upload-artifact@v4
with:
name: Debian Package
path: |
*.deb
*.build*
build-ubuntu:
name: Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create Build Environment
run: cd contrib/ci/ && podman build -t pomidaq -f Dockerfile-ubuntu .
- name: Build
run: |
podman run -t -e COMPILER_VENDOR=$CVENDOR -e CC=gcc -e CXX=g++ \
-e [email protected] \
-v `pwd`:/build pomidaq ./contrib/ci/cibuild.sh
- name: Upload Ubuntu package artifact
uses: actions/upload-artifact@v4
with:
name: Ubuntu Package
path: |
*.deb
*.build*
build-flatpak:
name: Flatpak
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create Build Environment
run: cd contrib/flatpak/ && podman build -t pomidaq-flatpak -f Dockerfile .
- name: Build
run: |
podman run --privileged -t -v `pwd`:/build pomidaq-flatpak \
./contrib/flatpak/build-bundle.sh
- name: Upload Flatpak bundle
uses: actions/upload-artifact@v4
with:
name: Flatpak Bundle
path: contrib/flatpak/*.flatpak