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