-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added iOS & Android builds for protobuf 3.4.1
- Loading branch information
1 parent
c5a7745
commit ce92f75
Showing
2 changed files
with
59 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,43 @@ | ||
language: generic | ||
sudo: false | ||
|
||
matrix: | ||
include: | ||
- os: osx | ||
osx_image: xcode8.2 | ||
compiler: clang | ||
- os: osx | ||
env: MASON_PLATFORM=ios | ||
osx_image: xcode8.2 | ||
compiler: clang | ||
- os: linux | ||
- os: linux | ||
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v5 | ||
- os: linux | ||
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v7 | ||
- os: linux | ||
sudo: false | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- libstdc++-4.9-dev | ||
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v8 | ||
- os: linux | ||
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86 | ||
- os: linux | ||
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86-64 | ||
- os: linux | ||
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips | ||
- os: linux | ||
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips-64 | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- libstdc++-4.9-dev | ||
- libstdc++6 | ||
|
||
script: | ||
- | | ||
if [[ ${MASON_PLATFORM} == 'ios' ]] || [[ ${MASON_PLATFORM} == 'android' ]]; then | ||
MASON_PLATFORM= MASON_ANDROID_ABI= ./mason install ${MASON_NAME} ${MASON_VERSION} | ||
export PATH=`MASON_PLATFORM= MASON_ANDROID_ABI= ./mason prefix ${MASON_NAME} ${MASON_VERSION}`/bin:$PATH | ||
fi | ||
- ./mason build ${MASON_NAME} ${MASON_VERSION} | ||
- ./mason publish ${MASON_NAME} ${MASON_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters