mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+test harfbuzz (#110)
This commit is contained in:
parent
915e9f1d82
commit
a4eac5f1c5
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -47,7 +47,7 @@ jobs:
|
|||
macos-11)
|
||||
# screws up a lot of build scripts
|
||||
# TODO stop using GHA images or chroot or something
|
||||
sudo rm -rf /usr/local/*
|
||||
for x in /usr/local/*; do sudo mv $x /tmp; done
|
||||
|
||||
sudo mkdir -p /opt/tea.xyz/var
|
||||
sudo chown -R $(whoami):staff /opt
|
||||
|
@ -72,8 +72,7 @@ jobs:
|
|||
|
||||
- run: ./scripts/install.ts ${{ steps.sorted.outputs.pre-install }}
|
||||
|
||||
- run: |
|
||||
./scripts/build.ts ${{ steps.sorted.outputs.pkgs }}
|
||||
- run: ./scripts/build.ts ${{ steps.sorted.outputs.pkgs }}
|
||||
id: build
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
|
@ -105,6 +104,7 @@ jobs:
|
|||
name: ${{ matrix.os }}
|
||||
path: ${{ steps.bottle.outputs.filenames }}
|
||||
if-no-files-found: error
|
||||
|
||||
notify:
|
||||
if: always()
|
||||
needs: [build]
|
||||
|
|
|
@ -37,4 +37,14 @@ build:
|
|||
#FIXME or gir scanner fails
|
||||
CC: clang
|
||||
|
||||
test: true #FIXME
|
||||
test:
|
||||
dependencies:
|
||||
curl.se: '*'
|
||||
script: |
|
||||
curl $FIXTURE > font.ttf
|
||||
out=$(echo 'സ്റ്റ്' | hb-shape font.ttf)
|
||||
test $out = '[gid0=0+500|gid0=0+500|gid0=2+500|gid0=2+500|gid0=4+500|gid0=4+500]'
|
||||
env:
|
||||
FIXTURE: https://github.com/harfbuzz/harfbuzz/raw/fc0daafab0336b847ac14682e581a8838f36a0bf/test/shaping/fonts/sha1sum/270b89df543a7e48e206a2d830c0e10e5265c630.ttf
|
||||
receipt:
|
||||
build/meson-logs/meson-log.txt
|
||||
|
|
Loading…
Reference in a new issue