File: configs-build.yml

package info (click to toggle)
harfbuzz 12.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 103,460 kB
  • sloc: ansic: 77,934; cpp: 62,153; python: 4,962; xml: 4,651; sh: 426; makefile: 105
file content (39 lines) | stat: -rw-r--r-- 811 bytes parent folder | download
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
36
37
38
39
name: configs

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

permissions:
  contents: read

jobs:
  build:
    runs-on: ubuntu-24.04
    strategy:
      fail-fast: false
      matrix:
        config:
          - HB_DISABLE_DEPRECATED
          - HB_MINI
          - HB_LEAN
          - HB_TINY
          - HB_NO_DRAW
          - HB_NO_PAINT

    name: ${{ matrix.config }}

    steps:
    - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
    - name: Create main.cc
      run: |
        cat <<EOF > main.cc
        #include "src/harfbuzz.cc"
        int main() { return 0; }
        EOF
    - name: install dependencies
      run: sudo apt-get install gcc
    - name: Build with ${{ matrix.config }}
      run: g++ -std=c++11 main.cc -D${{ matrix.config }}