Include pandoc in AppImage generation files
[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 libwebp-dev
21     - run: sudo apt-get install pandoc
22     - run: sudo apt-get install gettext
23
24     - uses: actions/checkout@v3
25     - run: git fetch --tags --force
26     - run: git fetch --depth=1000000
27     - uses: actions/setup-python@v4
28     - uses: BSFishy/meson-build@v1.0.3
29       with:
30         action: build
31         directory: build
32         options: --verbose
33         meson-version: 1.0.1
34
35     - name: build
36       run: DESTDIR=/home/runner/work/geeqie/geeqie/AppDir ninja -C build install
37     - name: build AppImage
38       uses: AppImageCrafters/build-appimage-action@master
39       with:
40         recipe: AppImageBuilder-x86_64.yml
41
42     - name: Create Release
43       uses: ncipollo/release-action@v1
44       with:
45          allowUpdates: true
46          tag: continuous
47          name: Continuous build
48          prerelease: true
49          artifacts: "Geeqie-latest-x86_64.AppImage"
50
51     - name: Upload logs
52       uses: actions/upload-artifact@v2
53       if: always()
54       with:
55         name: logs-all-build-appimage
56         path: /home/runner/work/geeqie/geeqie/build/meson-logs/*.txt
57         retention-days: 5