forked from BestImageViewer/geeqie
-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (61 loc) · 2.49 KB
/
appimage-minimal-aarch64.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
name: Geeqie minimal aarch64 AppImage build
run-name: ${{ github.actor }} is running Geeqie minimal aarch64 AppImage build
on: [push]
jobs:
Build-AppImage:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [aarch64]
include:
- arch: aarch64
cpu: cortex-a53
base_image: raspios_lite_arm64:latest
steps:
- uses: actions/checkout@v4
- run: git fetch --tags --force
- run: git fetch --depth=1000000
- uses: pguyot/arm-runner-action@v2
with:
base_image: ${{ matrix.base_image }}
cpu: ${{ matrix.cpu }}
cpu_info: ${{ matrix.cpu_info }}
image_additional_mb: 8000
bind_mount_repository: false
import_github_env: true
export_github_env: true
copy_artifact_path: geeqie.gz
commands: |
yes | sudo apt-get update
yes | sudo apt-get install build-essential libgtk-3-dev libgtk-3-bin
yes | sudo apt-get install curl
yes | sudo apt-get install gettext
yes | sudo apt-get install git
yes | sudo apt-get install meson
yes | sudo apt-get install pandoc
yes | sudo apt-get install python3 python3-pip python3-setuptools python3-wheel ninja-build
yes | sudo apt-get install yelp-tools
mkdir -p $GITHUB_WORKSPACE/AppDir
mkdir -p $GITHUB_WORKSPACE/AppDir/usr
meson setup -Darchive=disabled -Dcms=disabled -Ddoxygen=disabled -Ddjvu=disabled -Devince=disabled -Dexecinfo=disabled -Dexiv2=disabled -Dgps-map=disabled -Dheif=disabled -Dj2k=disabled -Djpeg=disabled -Djpegxl=disabled -Dlibraw=disabled -Dlua=disabled -Dpdf=disabled -Dspell=disabled -Dtiff=disabled -Dvideothumbnailer=disabled -Dwebp=disabled -Dprefix=$GITHUB_WORKSPACE/AppDir/usr build
ninja -C build install
tar -czvf geeqie.gz $GITHUB_WORKSPACE/
- run: tar -xvf geeqie.gz
- run: mkdir -p AppDir
- run: cp -var ./home/runner/work/geeqie/geeqie/AppDir/ .
- uses: AppImageCrafters/build-appimage-action@master
with:
recipe: AppImageBuilderMinimal-aarch64.yml
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
tag: continuous
name: Continuous build
prerelease: true
artifacts: "*.AppImage"
- uses: actions/upload-artifact@v4
if: always()
with:
name: logs-all-build-appimage
path: /home/runner/work/geeqie/geeqie/build/meson-logs/*.txt
retention-days: 5