mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/8e8c483db84b4bee98b60c0593521ed34d9990e8...de0fac2e4500dabe0009e67214ff5f5447ce83dd) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
40 lines
811 B
YAML
40 lines
811 B
YAML
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- 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 }}
|