mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 13:32:24 +00:00
Merge pull request #133 from juanjux/feature/compiled_osxcross
Use a precompiled package for osxcross for CI.
This commit is contained in:
commit
97be58ff4a
17
.travis.yml
17
.travis.yml
@ -83,12 +83,8 @@ jobs:
|
|||||||
- stage: Build macOS shared
|
- stage: Build macOS shared
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- OSXCROSS_PATH="$HOME/osxcross"
|
- OSXCROSS_PACKAGE="osxcross_3034f7149716d815bc473d0a7b35d17e4cf175aa.tar.gz"
|
||||||
- OSXCROSS_REV=3034f7149716d815bc473d0a7b35d17e4cf175aa
|
- OSXCROSS_URL="https://github.com/bblfsh/client-scala/releases/download/v1.5.2/${OSXCROSS_PACKAGE}"
|
||||||
- SDK_VERSION=10.11
|
|
||||||
- DARWIN_VERSION=15
|
|
||||||
- OSX_VERSION_MIN=10.6
|
|
||||||
- OSXCROSS_SDK_URL="https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.11.sdk.tar.xz"
|
|
||||||
- PATH="/$HOME/osxcross/bin:$PATH"
|
- PATH="/$HOME/osxcross/bin:$PATH"
|
||||||
|
|
||||||
sudo: true
|
sudo: true
|
||||||
@ -102,13 +98,8 @@ jobs:
|
|||||||
- go get -v -t ./...
|
- go get -v -t ./...
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get install -y --no-install-recommends clang g++ gcc gcc-multilib libc6-dev libc6-dev-i386 mingw-w64 patch xz-utils
|
- sudo apt-get install -y --no-install-recommends clang g++ gcc gcc-multilib libc6-dev libc6-dev-i386 mingw-w64 patch xz-utils
|
||||||
- mkdir -p /tmp/osxcross
|
- cd ${HOME}
|
||||||
- cd /tmp/osxcross
|
- curl -sSL ${OSXCROSS_URL} | tar -C ${HOME} -xzf -
|
||||||
- curl -sSL "https://codeload.github.com/tpoechtrager/osxcross/tar.gz/${OSXCROSS_REV}" | tar -C /tmp/osxcross --strip=1 -xzf -
|
|
||||||
- curl -s -S -L -o tarballs/MacOSX${SDK_VERSION}.sdk.tar.xz ${OSXCROSS_SDK_URL}
|
|
||||||
- UNATTENDED=yes ./build.sh >/dev/null
|
|
||||||
- mv target "${OSXCROSS_PATH}"
|
|
||||||
- rm -rf /tmp/osxcross "${OSXCROSS_PATH}/SDK/MacOSX${SDK_VERSION}.sdk/usr/share/man"
|
|
||||||
- cd $GOPATH/src/gopkg.in/src-d/enry.v1
|
- cd $GOPATH/src/gopkg.in/src-d/enry.v1
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
Loading…
Reference in New Issue
Block a user