Bug fix: Help files are not included in AppImages
[geeqie.git] / .github / workflows / appimage-x86_64.yml
1 name: Geeqie x86_64 AppImage build
2 run-name: ${{ github.actor }} is running Geeqie x86_64 AppImage build
3 on: [push]
4 jobs:
5   Build-AppImage:
6     runs-on: ubuntu-22.04
7     steps:
8     - run: sudo apt-get update
9     - run: sudo apt-get install build-essential libgtk-3-dev libgtk-3-bin
10     - run: sudo apt-get install evince
11     - run: sudo apt-get install libarchive-dev
12     - run: sudo apt-get install libchamplain-0.12-dev libchamplain-gtk-0.12-dev
13     - run: sudo apt-get install libffmpegthumbnailer-dev
14     - run: sudo apt-get install libgexiv2-dev
15     - run: sudo apt-get install libgspell-1-dev
16     - run: sudo apt-get install libheif-dev
17     - run: sudo apt-get install liblua5.3-dev
18     - run: sudo apt-get install libpoppler-glib-dev
19     - run: sudo apt-get install libraw-dev libomp-dev
20     - run: sudo apt-get install libwebp7
21     - run: sudo apt-get install libwebp-dev
22     - run: sudo apt-get install webp-pixbuf-loader
23     - run: sudo apt-get install pandoc
24     - run: sudo apt-get install gettext
25     - run: sudo apt-get install yelp-tools
26
27     - uses: actions/checkout@v3
28     - run: git fetch --tags --force
29     - run: git fetch --depth=1000000
30     - uses: actions/setup-python@v4
31     - uses: BSFishy/meson-build@v1.0.3
32       with:
33         action: build
34         directory: build
35         options: --verbose
36         meson-version: 1.0.1
37
38     - name: build
39       run: DESTDIR=/home/runner/work/geeqie/geeqie/AppDir ninja -C build install
40     - name: build AppImage
41       uses: AppImageCrafters/build-appimage-action@master
42       with:
43         recipe: AppImageBuilder-x86_64.yml
44
45     - name: Create Release
46       uses: ncipollo/release-action@v1
47       with:
48          allowUpdates: true
49          tag: continuous
50          name: Continuous build
51          prerelease: true
52          artifacts: "Geeqie-latest-x86_64.AppImage"
53
54     - name: Upload logs
55       uses: actions/upload-artifact@v2
56       if: always()
57       with:
58         name: logs-all-build-appimage
59         path: /home/runner/work/geeqie/geeqie/build/meson-logs/*.txt
60         retention-days: 5