Configuration fix: Revise meson version - Part 2
[geeqie.git] / .github / workflows / check-build-actions.yml
1 name: Geeqie check build
2 run-name: ${{ github.actor }} is running Geeqie check build
3 on: [push, pull_request]
4 jobs:
5   Check-Build-No-Options:
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 gettext
11     - run: sudo apt-get install shellcheck
12     - uses: actions/checkout@v3
13     - uses: actions/setup-python@v4
14     - run: sudo apt-get install xvfb
15     - uses: BSFishy/meson-build@v1.0.3
16       with:
17         action: test
18         directory: build
19         setup-options: -Darchive=disabled -Dcms=disabled -Ddevel=disabled -Ddoxygen=disabled -Ddjvu=disabled -Devince=disabled -Dexecinfo=disabled -Dexiv2=disabled -Dgit=disabled -Dgps-map=disabled -Dheif=disabled -Dj2k=disabled -Djpeg=disabled -Djpegxl=disabled -Dlibraw=disabled -Dlua=disabled -Dpandoc=disabled -Dpdf=disabled -Dspell=disabled -Dtiff=disabled -Dvideothumbnailer=disabled -Dyelp-build=disabled
20         options: --verbose
21         meson-version: 1.0.0
22     - name: Upload logs
23       uses: actions/upload-artifact@v2
24       if: always()
25       with:
26         name: logs-all-no-options
27         path: /home/runner/work/geeqie/geeqie/build/meson-logs/*.txt
28         retention-days: 5
29
30   Check-Build-Most-Options:
31     runs-on: ubuntu-22.04
32     steps:
33     - run: sudo apt-get update
34     - run: sudo apt-get install build-essential libgtk-3-dev libgtk-3-bin
35     - run: sudo apt-get install gettext
36     - run: sudo apt-get install shellcheck
37     - run: sudo apt-get install evince
38     - run: sudo apt-get install libarchive-dev
39     - run: sudo apt-get install libchamplain-0.12-dev libchamplain-gtk-0.12-dev
40     - run: sudo apt-get install libdw-dev
41     - run: sudo apt-get install libdwarf-dev
42     #~ - run: sudo apt-get install libffmpegthumbnailer-dev
43     - run: sudo apt-get install libgexiv2-dev
44     - run: sudo apt-get install libgspell-1-dev
45     - run: sudo apt-get install libheif-dev
46     #~ - run: sudo apt-get install libjxl-dev
47     - run: sudo apt-get install liblua5.3-dev
48     - run: sudo apt-get install libpoppler-glib-dev
49     - run: sudo apt-get install libraw-dev libomp-dev
50     - run: sudo apt-get install libunwind-dev
51     - run: sudo apt-get install webp-pixbuf-loader
52     - run: sudo apt-get install pandoc
53     #~ - run: sudo apt-get install yelp-tools
54     - uses: actions/checkout@v3
55     - uses: actions/setup-python@v4
56     - run: sudo apt-get install xvfb
57     - uses: BSFishy/meson-build@v1.0.3
58       with:
59         action: test
60         directory: build
61         setup-options: -Ddevel=enabled
62         options: --verbose
63         meson-version: 1.0.0
64     - name: Upload logs
65       uses: actions/upload-artifact@v2
66       if: always()
67       with:
68         name: logs-all-most-options
69         path: /home/runner/work/geeqie/geeqie/build/meson-logs/*.txt
70         retention-days: 5