Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
23655c5c
Commit
23655c5c
authored
Aug 02, 2015
by
Constantin Rack
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1503 from bluca/travis-ci-osx
Travis ci osx
parents
57ef5935
270a1ac5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
7 deletions
+37
-7
.travis.yml
.travis.yml
+4
-0
android_build_helper.sh
builds/qt-android/android_build_helper.sh
+10
-1
ci_build.sh
builds/qt-android/ci_build.sh
+21
-5
ci_build.sh
ci_build.sh
+2
-1
No files found.
.travis.yml
View file @
23655c5c
...
...
@@ -2,6 +2,10 @@
language
:
c
os
:
-
linux
-
osx
env
:
-
BUILD_TYPE=default
-
BUILD_TYPE=qt-android
...
...
builds/qt-android/android_build_helper.sh
View file @
23655c5c
...
...
@@ -282,7 +282,16 @@ function android_build_verify_so {
fi
android_build_check_fail
local
elfoutput
=
$(
readelf
-d
${
sofile
})
if
command
-v
readelf
>
/dev/null 2>&1
;
then
local
readelf_bin
=
"readelf"
elif
command
-v
greadelf
>
/dev/null 2>&1
;
then
local
readelf_bin
=
"greadelf"
else
ANDROID_BUILD_FAIL+
=(
"Could not find [g]readelf"
)
fi
android_build_check_fail
local
elfoutput
=
$(
$readelf_bin
-d
${
sofile
})
local
soname_regexp
=
'soname: \[([[:alnum:]\.]+)\]'
if
[[
$elfoutput
=
~
$soname_regexp
]]
;
then
...
...
builds/qt-android/ci_build.sh
View file @
23655c5c
#!/usr/bin/env bash
NDK_VER
=
android-ndk-r10e
if
[
$TRAVIS_OS_NAME
==
"linux"
]
then
NDK_PLATFORM
=
linux-x86_64
elif
[
$TRAVIS_OS_NAME
==
"osx"
]
then
NDK_PLATFORM
=
darwin-x86_64
else
echo
"Unsupported platform
$TRAVIS_OS_NAME
"
exit
1
fi
export
FILENAME
=
$NDK_VER
-
$NDK_PLATFORM
.bin
(
cd
'/tmp'
\
&&
wget http://dl.google.com/android/ndk/android-ndk-r9-linux-x86_64.tar.bz2
\
&&
tar
-xf
android-ndk-r9-linux-x86_64.tar.bz2
\
&&
mv
android-ndk-r9 android-ndk
)
&&
wget http://dl.google.com/android/ndk/
$FILENAME
\
&&
chmod
a+x
$FILENAME
\
&&
./
$FILENAME
&> /dev/null
)
||
exit
1
unset
FILENAME
export
ANDROID_NDK_ROOT
=
"/tmp/
android-ndk
"
export
TOOLCHAIN_PATH
=
"
/tmp/android-ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64
/bin"
export
ANDROID_NDK_ROOT
=
"/tmp/
$NDK_VER
"
export
TOOLCHAIN_PATH
=
"
$ANDROID_NDK_ROOT
/toolchains/arm-linux-androideabi-4.8/prebuilt/
$NDK_PLATFORM
/bin"
export
TOOLCHAIN_NAME
=
"arm-linux-androideabi-4.8"
export
TOOLCHAIN_HOST
=
"arm-linux-androideabi"
export
TOOLCHAIN_ARCH
=
"arm"
...
...
ci_build.sh
View file @
23655c5c
...
...
@@ -5,7 +5,8 @@ if [ $BUILD_TYPE == "default" ]; then
# libsodium
git clone git://github.com/jedisct1/libsodium.git
(
cd
libsodium
;
./autogen.sh
;
./configure
;
make check
;
sudo
make
install
;
sudo
ldconfig
)
(
cd
libsodium
;
./autogen.sh
;
./configure
;
make check
;
sudo
make
install
;
if
[
$TRAVIS_OS_NAME
!=
"osx"
]
;
then
sudo
ldconfig
;
fi
)
# Build and check this project
./autogen.sh
&&
./configure
--with-libsodium
=
yes
&&
make
&&
make check
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment