Use Travis's macOS builder to check if Epoxy is building on that platform.macos/v1.5.9
parent
8c3d371187
commit
02a5e55f21
@ -0,0 +1,19 @@ |
|||||||
|
#!/bin/sh |
||||||
|
|
||||||
|
export SDKROOT=$( xcodebuild -version -sdk macosx Path ) |
||||||
|
export CPPFLAGS=-I/usr/local/include |
||||||
|
export LDFLAGS=-L/usr/local/lib |
||||||
|
export OBJC=$CC |
||||||
|
export PATH=$HOME/tools:$PATH |
||||||
|
|
||||||
|
srcdir=$( pwd ) |
||||||
|
builddir=$( mktemp -d build_XXXXXX ) |
||||||
|
|
||||||
|
meson ${BUILDOPTS} $builddir $srcdir || exit $? |
||||||
|
|
||||||
|
cd $builddir |
||||||
|
ninja || exit $? |
||||||
|
meson test || exit $? |
||||||
|
cd .. |
||||||
|
|
||||||
|
rm -rf $builddir |
Loading…
Reference in new issue