Bug fix: Some secondary files were not included in x86 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 libgexiv2-dev
14     - run: sudo apt-get install libgspell-1-dev
15     - run: sudo apt-get install libheif-dev
16     - run: sudo apt-get install liblua5.3-dev
17     - run: sudo apt-get install libpoppler-glib-dev
18     - run: sudo apt-get install libraw-dev libomp-dev
19     - run: sudo apt-get install libwebp-dev
20     - run: sudo apt-get install gettext
21
22     - uses: actions/checkout@v3
23     - run: git fetch --tags --force
24     - uses: actions/setup-python@v4
25     - uses: BSFishy/meson-build@v1.0.3
26       with:
27         action: build
28         directory: build
29         setup-options: -Dgit=disabled
30         options: --verbose
31         meson-version: 1.0.1
32
33     - name: build
34       run: DESTDIR=/home/runner/work/geeqie/geeqie/AppDir ninja -C build install
35     - name: build AppImage
36       uses: AppImageCrafters/build-appimage-action@master
37       with:
38         recipe: AppImageBuilder-x86_64.yml
39
40     - name: Create Release
41       uses: ncipollo/release-action@v1
42       with:
43          allowUpdates: true
44          tag: continuous
45          name: Continuous build
46          prerelease: true
47          artifacts: "Geeqie-latest-x86_64.AppImage"
48
49     - name: Upload logs
50       uses: actions/upload-artifact@v2
51       if: always()
52       with:
53         name: logs-all-build-appimage
54         path: /home/runner/work/geeqie/geeqie/build/meson-logs/*.txt
55         retention-days: 5