Skip to content

Commit

Permalink
travis: Add build scripts for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ueno committed May 30, 2018
1 parent a218985 commit f696edd
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ matrix:
sudo: required
services: docker
env: BUILD_OPTS="--host=x86_64-w64-mingw32 --without-libffi" CHECK_OPTS="LOG_COMPILER=/srcdir/build/wine-wrapper.sh" SRCDIR=/srcdir BUILDDIR=/builddir EXTRA_PKGS="mingw64-gcc mingw64-libffi mingw64-libtasn1 wine"
- os: osx

language: c

Expand Down
3 changes: 3 additions & 0 deletions .travis/osx/after_failure.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

cat test-suite.log
5 changes: 5 additions & 0 deletions .travis/osx/before_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
brew update
brew install libffi

export PATH=${PATH}:/usr/local/opt/gettext/bin
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/local/opt/libffi/lib/pkgconfig
6 changes: 6 additions & 0 deletions .travis/osx/script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/installdir --libdir=/installdir/lib --sysconfdir=/installdir/etc --with-trust-paths=/installdir/etc/pki/ca-trust-source:/installdir/share/pki/ca-trust-source
make V=1
make check V=1

0 comments on commit f696edd

Please sign in to comment.