[ci/configs] Convert to a build matrix

This commit is contained in:
Khaled Hosny committed 2025-05-06 20:17:30 +03:00
1 parent 1c07f48bcb
commit 67bb0184a1
1 file changed
+9 -8
+9 -8
View File
@@ -12,16 +12,17 @@ permissions:
jobs:
build:
runs-on: ubuntu-24.04
strategy:
matrix:
include:
- config: HB_DISABLE_DEPRECATED
- config: HB_MINI
- config: HB_LEAN
- config: HB_TINY
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: install dependencies
run: sudo apt-get install gcc
- name: HB_DISABLE_DEPRECATED
run: g++ -std=c++11 -c src/harfbuzz.cc -DHB_DISABLE_DEPRECATED
- name: HB_MINI
run: g++ -std=c++11 -c src/harfbuzz.cc -DHB_MINI
- name: HB_LEAN
run: g++ -std=c++11 -c src/harfbuzz.cc -DHB_LEAN
- name: HB_TINY
run: g++ -std=c++11 -c src/harfbuzz.cc -DHB_TINY
- name: Build with ${{ matrix.config }}
run: g++ -std=c++11 -c src/harfbuzz.cc -D${{ matrix.config }}