-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1.34 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
name: AppImage Build
on:
push:
branches: [ master ]
jobs:
# This workflow contains a single job called "build"
build:
runs-on: ubuntu-20.04
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
# Runs a single command using the runners shell
- name: Install required dependencies
run: sudo apt-get install -y meson
# Runs a set of commands using the runners shell
- name: Download building tools & executing AppImage build
run: |
wget -nv -c https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
chmod +x linuxdeploy-x86_64.AppImage
wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
chmod +x pyuploadtool-x86_64.AppImage
- run: |
meson setup _build -Dprefix=/usr -Dstrip=true --buildtype=release
cd _build
ninja
DESTDIR=AppDir ninja -v install
../linuxdeploy-x86_64.AppImage \
--executable AppDir/usr/bin/aapokerhands \
--icon-file=../aapokerhands.png \
--icon-filename=aapokerhands \
--create-desktop-file \
--appdir $PWD/AppDir --output appimage
../pyuploadtool-x86_64.AppImage aapokerhands*AppImage