+test(freetype)

This commit is contained in:
Jacob Heider 2023-02-15 21:12:12 -05:00 committed by Jacob Heider
parent d411319008
commit 9ca61e2568

View file

@ -32,5 +32,20 @@ build:
- -DCMAKE_INSTALL_PREFIX="{{ prefix }}"
- -DCMAKE_BUILD_TYPE=Release
#FIXME
test: true
test:
dependencies:
tea.xyz/gx/cc: c99
freedesktop.org/pkg-config: ^0.29
script: |
mv $FIXTURE test.c
cc -o test test.c $(pkg-config --cflags --libs freetype2)
./test
fixture: |
#include <ft2build.h>
#include FT_FREETYPE_H
FT_Library library;
int main() {
return FT_Init_FreeType( &library );
}