Configuration fix: Revise meson version
[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 shellcheck
11     - uses: actions/checkout@v3
12     - uses: actions/setup-python@v4
13     - run: sudo apt-get install xvfb
14     - uses: BSFishy/meson-build@v1.0.3
15       with:
16         action: test
17         directory: build
18         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
19         options: --verbose
20         meson-version: 1.0.0
21     - name: Upload logs
22       uses: actions/upload-artifact@v2
23       if: always()
24       with:
25         name: logs-all-no-options
26         path: /home/runner/work/geeqie/geeqie/build/meson-logs/*.txt
27         retention-days: 5
28
29   Check-Build-Most-Options:
30     runs-on: ubuntu-22.04
31     steps:
32     - run: sudo apt-get update
33     - run: sudo apt-get install build-essential libgtk-3-dev libgtk-3-bin
34     - run: sudo apt-get install shellcheck
35     - run: sudo apt-get install evince
36     - run: sudo apt-get install libarchive-dev
37     - run: sudo apt-get install libchamplain-0.12-dev libchamplain-gtk-0.12-dev
38     - run: sudo apt-get install libdw-dev
39     - run: sudo apt-get install libdwarf-dev
40     #~ - run: sudo apt-get install libffmpegthumbnailer-dev
41     - run: sudo apt-get install libgexiv2-dev
42     - run: sudo apt-get install libgspell-1-dev
43     - run: sudo apt-get install libheif-dev
44     #~ - run: sudo apt-get install libjxl-dev
45     - run: sudo apt-get install liblua5.3-dev
46     - run: sudo apt-get install libpoppler-glib-dev
47     - run: sudo apt-get install libraw-dev libomp-dev
48     - run: sudo apt-get install libunwind-dev
49     - run: sudo apt-get install webp-pixbuf-loader
50     - run: sudo apt-get install pandoc
51     #~ - run: sudo apt-get install yelp-tools
52     - uses: actions/checkout@v3
53     - uses: actions/setup-python@v4
54     - run: sudo apt-get install xvfb
55     - uses: BSFishy/meson-build@v1.0.3
56       with:
57         action: test
58         directory: build
59         setup-options: -Ddevel=enabled
60         options: --verbose
61         meson-version: 0.56.2
62     - name: Upload logs
63       uses: actions/upload-artifact@v2
64       if: always()
65       with:
66         name: logs-all-most-options
67         path: /home/runner/work/geeqie/geeqie/build/meson-logs/*.txt
68         retention-days: 5