-
-
Notifications
You must be signed in to change notification settings - Fork 4
112 lines (104 loc) · 2.96 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: Build
on:
push:
branches: [ "main" ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/vanilla-os/pico:main
volumes:
- /proc:/proc
- /:/run/host
options: --privileged -it
steps:
- uses: actions/checkout@v4
- name: De-bloat stock image
run: |
rm -r /run/host/usr/share/dotnet
rm -r /run/host${{ runner.tool_cache }}
- name: Install needed packages
run: |
DEBIAN_FRONTEND=noninteractive apt update
DEBIAN_FRONTEND=noninteractive apt install -y \
dpkg-dev \
build-essential \
debhelper-compat \
desktop-file-utils \
dh-sequence-gnome \
gnome-settings-daemon-dev \
gsettings-desktop-schemas-dev \
gtk-doc-tools \
libaccountsservice-dev \
libadwaita-1-dev \
libcolord-dev \
libcolord-gtk4-dev \
libcups2-dev \
libgcr-4-dev \
libgdk-pixbuf-2.0-dev \
libgirepository1.0-dev \
libglib2.0-dev \
libgnome-bg-4-dev \
libgnome-bluetooth-ui-3.0-dev \
libgnome-desktop-4-dev \
libgnome-rr-4-dev \
libgnutls28-dev \
libgoa-1.0-dev \
libgoa-backend-1.0-dev \
libgsound-dev \
libgtk-4-dev \
libgtop2-dev \
libgudev-1.0-dev \
libhandy-1-dev \
libibus-1.0-dev \
libjson-glib-dev \
libkrb5-dev \
libmalcontent-0-dev \
libmm-glib-dev \
libnm-dev \
libnma-gtk4-dev \
libpolkit-gobject-1-dev \
libpulse-dev \
libpwquality-dev \
libsecret-1-dev \
libsmbclient-dev \
libsoup-3.0-dev \
libudisks2-dev \
libupower-glib-dev \
libwacom-dev \
libx11-dev \
libxft-dev \
libxi-dev \
libxklavier-dev \
libxml2-dev \
libxml2-utils \
locales \
meson \
polkitd \
python3-dbusmock \
shared-mime-info \
tecla \
tzdata \
xvfb \
wget \
git
- name: Build debian package
run: |
wget https://github.com/vanilla-os/gnome-control-center/tarball/main
mv main ../gnome-control-center_46~99-orchid-stable.orig.tar.gz
dpkg-buildpackage -b -uc -us
tar cvf ../gnome-control-center.tar.xz ../*.deb
- name: Calculate and Save Checksums
run: |
sha256sum /__w/gnome-control-center/gnome-control-center.tar.xz >> checksums.txt
- uses: softprops/action-gh-release@v2
if: github.ref == 'refs/heads/main'
with:
token: "${{ secrets.GITHUB_TOKEN }}"
tag_name: "continuous"
prerelease: true
name: "Continuous Build"
files: |
/__w/gnome-control-center/gnome-control-center.tar.xz
checksums.txt