mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-28 17:19:17 +01:00
[ci/configs] Convert to a build matrix
This commit is contained in:
1 parent
1c07f48bcb
commit
67bb0184a1
1 file changed
+9
-8
@@ -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 }}
|
||||
Reference in new issue
Block a user