File tree Expand file tree Collapse file tree 3 files changed +131
-11
lines changed
Expand file tree Collapse file tree 3 files changed +131
-11
lines changed Original file line number Diff line number Diff line change 1- name : Build Demo
1+ name : Build Demos
22concurrency :
33 group : build-${{ github.ref }}
44 cancel-in-progress : true
77 push :
88 branches : [ main ]
99 paths-ignore : [ '**/*.md' ]
10- pull_request :
11- branches : [ main ]
12- paths-ignore : [ '**/*.md' ]
1310 schedule :
1411 - cron : " 0 7 1/30 * *"
1512 workflow_dispatch : {}
@@ -21,18 +18,36 @@ jobs:
2118 strategy :
2219 matrix :
2320 include :
24- - runs-on : ubuntu-latest
25- name : Build AppImage
26- arch : x86_64
27- - runs-on : ubuntu-24.04-arm
28- name : Build AppImage
29- arch : aarch64
21+ - arch : x86_64
22+ platform : linux/amd64
23+ runs-on : ubuntu-24.04
24+ script : vkcube-glxgears-appimage
25+ - arch : x86_64
26+ platform : linux/amd64
27+ runs-on : ubuntu-24.04
28+ script : vkcube-glxgears-appimage
29+ - arch : x86_64
30+ platform : linux/amd64
31+ runs-on : ubuntu-24.04
32+ script : gtk3-demo-appimage
33+ - arch : x86_64
34+ platform : linux/amd64
35+ runs-on : ubuntu-24.04
36+ script : gtk3-demo-appimage
37+ - arch : x86_64
38+ platform : linux/amd64
39+ runs-on : ubuntu-24.04
40+ script : gtk4-demo-appimage
41+ - arch : x86_64
42+ platform : linux/amd64
43+ runs-on : ubuntu-24.04
44+ script : gtk4-demo-appimage
3045 container : ghcr.io/pkgforge-dev/archlinux:latest
3146 steps :
3247 - uses : actions/checkout@v4
3348
3449 - name : Make AppImage
35- run : sh ./useful-tools/demo/vkcube-glxgears-appimage .sh
50+ run : sh ./useful-tools/demo/${{ matrix.script }} .sh
3651
3752 - name : Upload artifact
3853 uses : actions/upload-artifact@v4.6.2
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # Demonstration that bundles gtk3 demo app
4+
5+ set -eux
6+
7+ ARCH=" $( uname -m) "
8+ SHARUN=" https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/quick-sharun.sh"
9+ URUNTIME=" https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/uruntime2appimage.sh"
10+ EXTRA_PACKAGES=" https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/get-debloated-pkgs.sh"
11+
12+ export ICON=DUMMY
13+ export DESKTOP=DUMMY
14+ export OUTNAME=gtk3-demo-" $ARCH " .AppImage
15+
16+ pacman -Syu --noconfirm \
17+ base-devel \
18+ curl \
19+ git \
20+ gtk4-demos \
21+ libxcb \
22+ libxcursor \
23+ libxi \
24+ libxkbcommon \
25+ libxkbcommon-x11 \
26+ libxrandr \
27+ libxtst \
28+ mesa-utils \
29+ vulkan-tools \
30+ wget \
31+ xorg-server-xvfb \
32+ zsync
33+
34+ echo " Installing debloated packages..."
35+ echo " ---------------------------------------------------------------"
36+ wget --retry-connrefused --tries=30 " $EXTRA_PACKAGES " -O ./get-debloated-pkgs.sh
37+ chmod +x ./get-debloated-pkgs.sh
38+ ./get-debloated-pkgs.sh --add-common
39+
40+ echo " Bundling AppImage..."
41+ echo " ---------------------------------------------------------------"
42+ wget --retry-connrefused --tries=30 " $SHARUN " -O ./quick-sharun
43+ chmod +x ./quick-sharun
44+ ./quick-sharun /usr/bin/gtk3-demo
45+
46+ wget --retry-connrefused --tries=30 " $URUNTIME " -O ./uruntime2appimage
47+ chmod +x ./uruntime2appimage
48+ ./uruntime2appimage
49+ mkdir -p ./dist
50+ mv -v ./* .AppImage ./dist
51+
52+ echo " All Done!"
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # Demonstration that bundles gtk3 demo app
4+
5+ set -eux
6+
7+ ARCH=" $( uname -m) "
8+ SHARUN=" https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/quick-sharun.sh"
9+ URUNTIME=" https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/uruntime2appimage.sh"
10+ EXTRA_PACKAGES=" https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/get-debloated-pkgs.sh"
11+
12+ export DEPLOY_OPENGL=1
13+ export ICON=DUMMY
14+ export DESKTOP=DUMMY
15+ export OUTNAME=gtk4-demo-" $ARCH " .AppImage
16+
17+ pacman -Syu --noconfirm \
18+ base-devel \
19+ curl \
20+ git \
21+ gtk4-demos \
22+ libxcb \
23+ libxcursor \
24+ libxi \
25+ libxkbcommon \
26+ libxkbcommon-x11 \
27+ libxrandr \
28+ libxtst \
29+ mesa-utils \
30+ vulkan-tools \
31+ wget \
32+ xorg-server-xvfb \
33+ zsync
34+
35+ echo " Installing debloated packages..."
36+ echo " ---------------------------------------------------------------"
37+ wget --retry-connrefused --tries=30 " $EXTRA_PACKAGES " -O ./get-debloated-pkgs.sh
38+ chmod +x ./get-debloated-pkgs.sh
39+ ./get-debloated-pkgs.sh --add-common
40+
41+ echo " Bundling AppImage..."
42+ echo " ---------------------------------------------------------------"
43+ wget --retry-connrefused --tries=30 " $SHARUN " -O ./quick-sharun
44+ chmod +x ./quick-sharun
45+ ./quick-sharun /usr/bin/gtk4-demo
46+
47+ wget --retry-connrefused --tries=30 " $URUNTIME " -O ./uruntime2appimage
48+ chmod +x ./uruntime2appimage
49+ ./uruntime2appimage
50+ mkdir -p ./dist
51+ mv -v ./* .AppImage ./dist
52+
53+ echo " All Done!"
You can’t perform that action at this time.
0 commit comments