Skip to content

Commit 59d44e9

Browse files
committed
workflow: makefile: remove build-deb-gui
1 parent f087d81 commit 59d44e9

1 file changed

Lines changed: 0 additions & 39 deletions

File tree

.github/workflows/makefile.yml

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -51,45 +51,6 @@ jobs:
5151
name: customfetch_amd64
5252
path: /tmp/customfetch-2.0.0-beta1.orig/customfetch_2.0.0-beta1_amd64.deb
5353

54-
build-deb-gui:
55-
runs-on: ubuntu-22.04
56-
permissions:
57-
contents: read
58-
59-
steps:
60-
- uses: actions/checkout@v4
61-
62-
- name: create tmp directory
63-
run: mkdir /tmp/customfetch-2.0.0-beta1.orig
64-
65-
- name: Install Packages
66-
run: |
67-
sudo apt-get purge firefox # Slows down the installation alot, fuck snap
68-
sudo apt-get update && sudo apt-get upgrade -y
69-
sudo apt-get install libwayland-dev g++-11 libgtk-3-dev pkg-config libgtkmm-3.0-dev libdconf-dev libglib2.0-dev libarchive-tools
70-
sudo apt-get install binutils lintian debhelper gettext devscripts debmake autoconf automake autotools-dev dh-make fakeroot xutils pbuilder -y
71-
72-
- name: Clean
73-
run: make distclean
74-
75-
- name: Create deb
76-
run: |
77-
cp -r $GITHUB_WORKSPACE /tmp/customfetch-2.0.0-beta1.orig
78-
cd /tmp/customfetch-2.0.0-beta1.orig/customfetch
79-
mkdir -p Debian/Debhelper/Buildsystem/
80-
wget https://github.com/Debian/debhelper/raw/master/lib/Debian/Debhelper/Buildsystem/makefile.pm -O Debian/Debhelper/Buildsystem/make.pm
81-
sed -i "s#package Debian::Debhelper::Buildsystem::makefile#package Debian::Debhelper::Buildsystem::make#g" Debian/Debhelper/Buildsystem/make.pm
82-
sed -i "s#GUI_APP=0#GUI_APP=1 CXX=x86_64-linux-gnu-g++-11#g" debian/rules
83-
sed -i "/^Build-Depends:/a Depends: libgtkmm-3.0-1v5,libgtk-3-0" debian/control
84-
dpkg-buildpackage -us -uc
85-
86-
- name: Upload to github artifacts
87-
uses: actions/upload-artifact@v4
88-
with:
89-
if-no-files-found: error
90-
name: customfetch-gui_amd64
91-
path: /tmp/customfetch-2.0.0-beta1.orig/customfetch_2.0.0-beta1_amd64.deb
92-
9354
build-ubuntu_22-04:
9455
runs-on: ubuntu-22.04
9556
permissions:

0 commit comments

Comments
 (0)