Bug fix: Some secondary files were not included in x86 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     - uses: pguyot/arm-runner-action@v2
18       with:
19         base_image: ${{ matrix.base_image }}
20         cpu: ${{ matrix.cpu }}
21         cpu_info: ${{ matrix.cpu_info }}
22         image_additional_mb: 1000
23         bind_mount_repository: false
24         import_github_env: true
25         export_github_env: true
26         copy_artifact_path: geeqie.gz
27         commands: |
28             yes | sudo apt-get update
29             yes | sudo apt-get install build-essential libgtk-3-dev libgtk-3-bin
30             yes | sudo apt-get update
31             yes | sudo apt-get install build-essential libgtk-3-dev libgtk-3-bin
32             yes | sudo apt-get install evince
33             yes | sudo apt-get install libarchive-dev
34             yes | sudo apt-get install libchamplain-0.12-dev libchamplain-gtk-0.12-dev
35             yes | sudo apt-get install libgexiv2-dev
36             yes | sudo apt-get install libgspell-1-dev
37             yes | sudo apt-get install libheif-dev
38             yes | sudo apt-get install liblua5.3-dev
39             yes | sudo apt-get install libpoppler-glib-dev
40             yes | sudo apt-get install libraw-dev libomp-dev
41             yes | sudo apt-get install libwebp-dev
42             yes | sudo apt-get install gettext
43             yes | sudo apt-get install git
44             yes | sudo apt-get install python3 python3-pip python3-setuptools  python3-wheel ninja-build
45             yes | sudo apt-get install meson
46             yes | sudo apt-get install gettext
47             mkdir -p $GITHUB_WORKSPACE/AppDir
48             mkdir -p $GITHUB_WORKSPACE/AppDir/usr
49             meson setup -Ddevel=disabled -Ddoxygen=disabled -Dgit=disabled -Dyelp-build=disabled -Dprefix=$GITHUB_WORKSPACE/AppDir/usr build
50             ninja -C build install
51             tar -czvf geeqie.gz $GITHUB_WORKSPACE/
52
53     - run: tar -xvf geeqie.gz
54     - run: mkdir -p AppDir
55     - run: cp -var  ./home/runner/work/geeqie/geeqie/AppDir/ .
56     - uses: AppImageCrafters/build-appimage-action@master
57       with:
58         recipe: AppImageBuilder-aarch64.yml
59
60     - uses: ncipollo/release-action@v1
61       with:
62         allowUpdates: true
63         tag: continuous
64         name: Continuous build
65         prerelease: true
66         artifacts: "*.AppImage"
67
68     - uses: actions/upload-artifact@v2
69       if: always()
70       with:
71         name: logs-all-build-appimage
72         path: /home/runner/work/geeqie/geeqie/build/meson-logs/*.txt
73         retention-days: 5