2021-07-13 01:12:43 +02:00
|
|
|
name: macos-ci
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
|
2022-06-07 03:08:13 +02:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-07-13 01:12:43 +02:00
|
|
|
jobs:
|
|
|
|
build:
|
2022-07-20 20:02:38 +02:00
|
|
|
runs-on: macos-latest
|
2021-07-13 01:12:43 +02:00
|
|
|
|
|
|
|
steps:
|
2022-06-08 14:47:05 +02:00
|
|
|
- uses: actions/checkout@v3
|
2021-07-13 01:12:43 +02:00
|
|
|
- name: install dependencies
|
2022-11-14 21:57:02 +01:00
|
|
|
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install meson pkg-config freetype glib glib-utils cairo icu4c graphite2 gobject-introspection gtk-doc ninja
|
2022-11-14 22:16:11 +01:00
|
|
|
- run: pip3 install fonttools
|
2021-07-13 01:12:43 +02:00
|
|
|
- name: run
|
2022-11-14 22:16:11 +01:00
|
|
|
run: PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig" meson build -Dcoretext=enabled -Dgraphite=enabled -Dauto_features=enabled -Dchafa=disabled -Doptimization=2
|
2021-07-13 01:12:43 +02:00
|
|
|
- name: ci
|
|
|
|
run: meson test --print-errorlogs -Cbuild
|