summaryrefslogtreecommitdiffstats
path: root/.github/actions/meson/action.yml
blob: 39cb674fcfa540459040a639172d85bbb448bc86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Meson Build
description: Builds Rofi using Meson

inputs:
  cc:
    description: Compiler to use
    required: true

runs:
  using: composite
  steps:
    - id: pip
      run: pip install meson ninja
      shell: bash
    - id: setup
      run: meson setup builddir -Db_coverage=true
      shell: bash
      env:
        CC: ${{ inputs.cc }}
    - id: build
      run: ninja -C builddir
      shell: bash
    - id: dist
      run: ninja -C builddir dist
      shell: bash
    - id: test
      run: ninja -C builddir test
      shell: bash
    - id: doxy
      run: ninja -C builddir doc/html > doxygen.log 2>&1 
      shell: bash
    - id: doxycheck
      uses: ./.github/actions/doxycheck
      with:
        logfile: doxygen.log