[ci] Add configs-ci.yml to test different configs

Fixes https://github.com/harfbuzz/harfbuzz/issues/2884
This commit is contained in:
Behdad Esfahbod 2022-02-12 21:08:43 -06:00
parent db04af2782
commit b2f5131029
1 changed files with 24 additions and 0 deletions

24
.github/workflows/configs-ci.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: configs-ci
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: install dependencies
run: sudo apt-get install gcc
- name: HB_DISABLE_DEPRECATED
run: gcc -c src/harfbuzz.cc -DHB_DISABLE_DEPRECATED
- name: HB_MINI
run: gcc -c src/harfbuzz.cc -DHB_MINI
- name: HB_LEAN
run: gcc -c src/harfbuzz.cc -DHB_LEAN
- name: HB_TINY
run: gcc -c src/harfbuzz.cc -DHB_TINY