mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
c53de16f38
commit
cf92d1c3bc
1 changed files with 11 additions and 9 deletions
|
@ -70,17 +70,19 @@ build:
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
freedesktop.org/pkg-config: ^0.29
|
freedesktop.org/pkg-config: ^0.29
|
||||||
script: |
|
script:
|
||||||
sh - <<EOSTDIN
|
|
||||||
# unset these since we only want to test via pkg-config
|
# unset these since we only want to test via pkg-config
|
||||||
unset LIBRARY_PATH
|
- unset LIBRARY_PATH
|
||||||
unset CPATH
|
- unset CPATH
|
||||||
unset LD_LIBRARY_PATH
|
- LD_LIBRARY_PATH_BAK=$LD_LIBRARY_PATH
|
||||||
unset DYLD_FALLBACK_LIBRARY_PATH
|
- unset LD_LIBRARY_PATH
|
||||||
cc $CFLAGS $LDFLAGS test.c
|
- DYLD_FALLBACK_LIBRARY_PATH_BAK=$DYLD_FALLBACK_LIBRARY_PATH
|
||||||
EOSTDIN
|
- unset DYLD_FALLBACK_LIBRARY_PATH
|
||||||
|
- cc $CFLAGS $LDFLAGS test.c
|
||||||
|
|
||||||
./a.out
|
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH_BAK
|
||||||
|
- export DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH_BAK
|
||||||
|
- ./a.out
|
||||||
env:
|
env:
|
||||||
# using pkg-config as pixman puts its headers in `include/pixman-1`
|
# using pkg-config as pixman puts its headers in `include/pixman-1`
|
||||||
LDFLAGS: $(pkg-config --libs glib-2.0)
|
LDFLAGS: $(pkg-config --libs glib-2.0)
|
||||||
|
|
Loading…
Reference in a new issue