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