Bug fix: Help files are not included in AppImages
[geeqie.git] / .github / workflows / appimage-aarch64.yml
1 name: Geeqie aarch64 AppImage build
2 run-name: ${{ github.actor }} is running Geeqie aarch64 AppImage build
3 on: [push]
4 jobs:
5   Build-AppImage:
6     runs-on: ubuntu-latest
7     strategy:
8       matrix:
9         arch: [aarch64]
10         include:
11         - arch: aarch64
12           cpu: cortex-a53
13           base_image: raspios_lite_arm64:latest
14     steps:
15     - uses: actions/checkout@v2
16     - run: git fetch --tags --force
17     - run: git fetch --depth=1000000
18     - uses: pguyot/arm-runner-action@v2
19       with:
20         base_image: ${{ matrix.base_image }}
21         cpu: ${{ matrix.cpu }}
22         cpu_info: ${{ matrix.cpu_info }}
23         image_additional_mb: 8000
24         bind_mount_repository: false
25         import_github_env: true
26         export_github_env: true
27         copy_artifact_path: geeqie.gz
28         commands: |
29             yes | sudo apt-get update
30             yes | sudo apt-get install build-essential libgtk-3-dev libgtk-3-bin
31             yes | sudo apt-get update
32             yes | sudo apt-get install build-essential libgtk-3-dev libgtk-3-bin
33             yes | sudo apt-get install evince
34             yes | sudo apt-get install libarchive-dev
35             yes | sudo apt-get install libchamplain-0.12-dev libchamplain-gtk-0.12-dev
36             yes | sudo apt-get install libffmpegthumbnailer-dev
37             yes | sudo apt-get install libgexiv2-dev
38             yes | sudo apt-get install libgspell-1-dev
39             yes | sudo apt-get install libheif-dev
40             yes | sudo apt-get install liblua5.3-dev
41             yes | sudo apt-get install libpoppler-glib-dev
42             yes | sudo apt-get install libraw-dev libomp-dev
43             yes | sudo apt-get install libwebp-dev
44             yes | sudo apt-get install webp-pixbuf-loader
45             yes | sudo apt-get install gettext
46             yes | sudo apt-get install git
47             yes | sudo apt-get install python3 python3-pip python3-setuptools  python3-wheel ninja-build
48             yes | sudo apt-get install meson
49             yes | sudo apt-get install pandoc
50             yes | sudo apt-get install yelp-tools
51             mkdir -p $GITHUB_WORKSPACE/AppDir
52             mkdir -p $GITHUB_WORKSPACE/AppDir/usr
53             meson setup -Ddevel=disabled -Ddoxygen=disabled -Dyelp-build=disabled -Dprefix=$GITHUB_WORKSPACE/AppDir/usr build
54             ninja -C build install
55             tar -czvf geeqie.gz $GITHUB_WORKSPACE/
56
57     - run: tar -xvf geeqie.gz
58     - run: mkdir -p AppDir
59     - run: cp -var  ./home/runner/work/geeqie/geeqie/AppDir/ .
60     - uses: AppImageCrafters/build-appimage-action@master
61       with:
62         recipe: AppImageBuilder-aarch64.yml
63
64     - uses: ncipollo/release-action@v1
65       with:
66         allowUpdates: true
67         tag: continuous
68         name: Continuous build
69         prerelease: true
70         artifacts: "*.AppImage"
71
72     - uses: actions/upload-artifact@v2
73       if: always()
74       with:
75         name: logs-all-build-appimage
76         path: /home/runner/work/geeqie/geeqie/build/meson-logs/*.txt
77         retention-days: 5