Use devel=enabled option for full-size 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 libdw-dev
14     - run: sudo apt-get install libdwarf-dev
15     - run: sudo apt-get install libffmpegthumbnailer-dev
16     - run: sudo apt-get install libgexiv2-dev
17     - run: sudo apt-get install libgspell-1-dev
18     - run: sudo apt-get install libheif-dev
19     - run: sudo apt-get install liblua5.3-dev
20     - run: sudo apt-get install libpoppler-glib-dev
21     - run: sudo apt-get install libraw-dev libomp-dev
22     - run: sudo apt-get install libunwind-dev
23     - run: sudo apt-get install libwebp7
24     - run: sudo apt-get install libwebp-dev
25     - run: sudo apt-get install webp-pixbuf-loader
26     - run: sudo apt-get install pandoc
27     - run: sudo apt-get install gettext
28     - run: sudo apt-get install yelp-tools
29
30     - uses: actions/checkout@v3
31     - run: git fetch --tags --force
32     - run: git fetch --depth=1000000
33     - uses: actions/setup-python@v4
34     - uses: BSFishy/meson-build@v1.0.3
35       with:
36         action: build
37         directory: build
38         setup-options: -Ddevel=enabled
39         options: --verbose
40         meson-version: 1.0.1
41
42     - name: build
43       run: DESTDIR=/home/runner/work/geeqie/geeqie/AppDir ninja -C build install
44     - name: build AppImage
45       uses: AppImageCrafters/build-appimage-action@master
46       with:
47         recipe: AppImageBuilder-x86_64.yml
48
49     - name: Create Release
50       uses: ncipollo/release-action@v1
51       with:
52          allowUpdates: true
53          tag: continuous
54          name: Continuous build
55          prerelease: true
56          artifacts: "Geeqie-latest-x86_64.AppImage"
57
58     - name: Upload logs
59       uses: actions/upload-artifact@v2
60       if: always()
61       with:
62         name: logs-all-build-appimage
63         path: /home/runner/work/geeqie/geeqie/build/meson-logs/*.txt
64         retention-days: 5