1 Star 0 Fork 32

lineCode/sxtwl_cpp

forked from 元谷/sxtwl_cpp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.travis.yml 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
元谷 提交于 2018-07-29 12:32 . new travis
matrix:
include:
#IOS
- os: osx
language: cpp
env: BUILD_TARGET=Ios
sudo: true
script:
- mkdir build
- cd build
- cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/ios.cmake
-DIOS_PLATFORM=OS
-DCMAKE_BUILD_TYPE=Release
- cmake --build .
#Android
- os: linux
language: cpp
env: BUILD_TARGET=Android
sudo: true
script:
- wget https://dl.google.com/android/repository/android-ndk-r14b-linux-x86_64.zip
- unzip -q ./android-ndk-r14b-linux-x86_64.zip
- export ANDROID_NDK_ROOT=`pwd`/android-ndk-r14b
- export ANDROID_NDK=`pwd`/android-ndk-r14b
- wget https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.tar.gz
- tar -xf ./cmake-3.12.0-Linux-x86_64.tar.gz
- export PATH=`pwd`/cmake-3.12.0-Linux-x86_64/bin:$PATH
- echo $ANDROID_NDK
- which cmake
- mkdir build
- cd build
- cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/android.cmake
-DCMAKE_BUILD_TYPE=Release
-DANDROID_ABI=armeabi-v7a
-DANDROID_STL=gnustl_static
-DANDROID_TOOLCHAIN_NAME=arm-linux-androideabi-4.9
-DCMAKE_MAKE_PROGRAM=$ANDROID_NDK/prebuilt/linux-x86_64/bin/make
-DANDROID_NATIVE_API_LEVEL=21
-DSXTWL_BUILD_EXAMPLES=1
-G "Unix Makefiles"
- cmake --build .
# linux
- os: linux
language: cpp
env: BUILD_TARGET=Linux
compiler:
- clang
- gcc
script:
- mkdir build
- cd build
- cmake .. -DSXTWL_BUILD_EXAMPLES=1
- cmake --build .
- ./example/example
#mac
- os: osx
language: cpp
env: BUILD_TARGET=Mac
compiler:
- clang
- gcc
script:
- mkdir build
- cd build
- cmake .. -DSXTWL_BUILD_EXAMPLES=1
- cmake --build .
- ./example/example
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/lineco/sxtwl.git
[email protected]:lineco/sxtwl.git
lineco
sxtwl
sxtwl_cpp
master

搜索帮助