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