blob: ff305b8b0d2d9919997694ea0c2044247123055f [file] [edit]
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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- 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 }}