libdw is required for Ddevel=enabled on GitHub
[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: 0.56.2
21     - name: Upload logs
22       uses: actions/upload-artifact@v2
23       if: always()
24       with:
25         name: logs-all
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 libffmpegthumbnailer-dev
40     - run: sudo apt-get install libgexiv2-dev
41     - run: sudo apt-get install libgspell-1-dev
42     - run: sudo apt-get install libheif-dev
43     - run: sudo apt-get install liblua5.3-dev
44     - run: sudo apt-get install libpoppler-glib-dev
45     - run: sudo apt-get install libraw-dev libomp-dev
46     - run: sudo apt-get install pandoc
47     #~ - run: sudo apt-get install yelp-tools
48     - uses: actions/checkout@v3
49     - uses: actions/setup-python@v4
50     - run: sudo apt-get install xvfb
51     - uses: BSFishy/meson-build@v1.0.3
52       with:
53         action: test
54         directory: build
55         setup-options: -Ddevel=enabled
56         options: --verbose
57         meson-version: 0.56.2
58     - name: Upload logs
59       uses: actions/upload-artifact@v2
60       if: always()
61       with:
62         name: logs-all
63         path: /home/runner/work/geeqie/geeqie/build/meson-logs/*.txt
64         retention-days: 5