mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+test(freetype)
This commit is contained in:
parent
d411319008
commit
9ca61e2568
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue