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