Fix #1227: webp images load as black even with every prerequisite being green during...
[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 pandoc
26     - run: sudo apt-get install gettext
27     - run: sudo apt-get install yelp-tools
28
29     - uses: actions/checkout@v3
30     - run: git fetch --tags --force
31     - run: git fetch --depth=1000000
32     - uses: actions/setup-python@v4
33     - uses: BSFishy/meson-build@v1.0.3
34       with:
35         action: build
36         directory: build
37         setup-options: -Ddevel=enabled
38         options: --verbose
39         meson-version: 1.0.1
40
41     - name: build
42       run: DESTDIR=/home/runner/work/geeqie/geeqie/AppDir ninja -C build install
43     - name: build AppImage
44       uses: AppImageCrafters/build-appimage-action@master
45       with:
46         recipe: AppImageBuilder-x86_64.yml
47
48     - name: Create Release
49       uses: ncipollo/release-action@v1
50       with:
51          allowUpdates: true
52          tag: continuous
53          name: Continuous build
54          prerelease: true
55          artifacts: "Geeqie-latest-x86_64.AppImage"
56
57     - name: Upload logs
58       uses: actions/upload-artifact@v2
59       if: always()
60       with:
61         name: logs-all-build-appimage
62         path: /home/runner/work/geeqie/geeqie/build/meson-logs/*.txt
63         retention-days: 5