File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+ labels :
8+ - buildsystem
Original file line number Diff line number Diff line change 1010 build :
1111 runs-on : ubuntu-24.04
1212 steps :
13- - uses : actions/checkout@v4
13+ - uses : actions/checkout@v5
1414
1515 - name : Install dependencies
1616 run : |
2929
3030 - name : Build
3131 run : meson compile -C builddir
32+
33+ build-deb :
34+ runs-on : ubuntu-24.04
35+ strategy :
36+ matrix :
37+ include :
38+ - distro : ubuntu-24.04
39+ - distro : debian-12
40+ container : debian:12
41+ container : ${{ matrix.container || '' }}
42+ steps :
43+ - uses : actions/checkout@v5
44+
45+ - name : Install dependencies
46+ run : |
47+ if [ "$(id -u)" -ne 0 ]; then SUDO=sudo; fi
48+ $SUDO apt-get update
49+ $SUDO apt-get install -y \
50+ meson \
51+ ninja-build \
52+ valac \
53+ libglib2.0-dev \
54+ libgtk-4-dev \
55+ libadwaita-1-dev \
56+ libjson-glib-dev \
57+ make \
58+ dpkg-dev
59+
60+ - name : Build
61+ run : make
62+
63+ - name : Package .deb
64+ run : make deb
65+
66+ - name : Rename .deb with distro suffix
67+ run : |
68+ for f in dist/debian/deltachat-gnome/*.deb; do
69+ mv "$f" "${f%.deb}_${{ matrix.distro }}.deb"
70+ done
71+
72+ - name : Upload .deb artifacts
73+ uses : actions/upload-artifact@v4
74+ with :
75+ name : deltachat-gnome-${{ matrix.distro }}
76+ path : dist/debian/deltachat-gnome/*.deb
Original file line number Diff line number Diff line change 1919 container : debian:12
2020 container : ${{ matrix.container || '' }}
2121 steps :
22- - uses : actions/checkout@v4
22+ - uses : actions/checkout@v5
2323
2424 - name : Install dependencies
2525 run : |
You can’t perform that action at this time.
0 commit comments