Fix #1076: webp images show up as black
[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 git
43             yes | sudo apt-get install python3 python3-pip python3-setuptools  python3-wheel ninja-build
44             yes | sudo apt-get install meson
45             yes | sudo apt-get install gettext
46             mkdir -p $GITHUB_WORKSPACE/AppDir
47             mkdir -p $GITHUB_WORKSPACE/AppDir/usr
48             meson setup -Ddevel=disabled -Ddoxygen=disabled -Dgit=disabled -Dyelp-build=disabled -Dprefix=$GITHUB_WORKSPACE/AppDir/usr build
49             ninja -C build install
50             tar -czvf geeqie.gz $GITHUB_WORKSPACE/
51
52     - run: tar -xvf geeqie.gz
53     - run: mkdir -p AppDir
54     - run: cp -var  ./home/runner/work/geeqie/geeqie/AppDir/ .
55     - uses: AppImageCrafters/build-appimage-action@master
56       with:
57         recipe: AppImageBuilder-aarch64.yml
58
59     - uses: ncipollo/release-action@v1
60       with:
61         allowUpdates: true
62         tag: continuous
63         name: Continuous build
64         prerelease: true
65         artifacts: "*.AppImage"
66
67     - uses: actions/upload-artifact@v2
68       if: always()
69       with:
70         name: logs-all-build-appimage
71         path: /home/runner/work/geeqie/geeqie/build/meson-logs/*.txt
72         retention-days: 5