2 Star 0 Fork 1

gitLgx/recastnavigation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.67 KB
一键复制 编辑 原始数据 按行查看 历史
Bret Curtis 提交于 2021-03-05 17:24 . Fix MacOS builds on Travis (#475)
language: cpp
os: linux
dist: bionic
branches:
only:
- master
- coverity_scan
- /recast-.*$/
sudo: false
addons:
apt:
packages: [ build-essential, cmake, clang, clang-tools, libsdl2-dev ]
matrix:
include:
- name: Recastnavigation on MacOS using XCode
os: osx
osx_image: xcode12.2
before_install:
- brew update
- brew install sdl2
if: branch != coverity_scan
- name: Recastnavigation on Ubuntu GCC
if: branch != coverity_scan
- name: Recastnavigation on Ubuntu GCC using Premake5
if: branch != coverity_scan
before_install:
- wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha12/premake-5.0.0-alpha12-linux.tar.gz -O premake.tar.gz
- tar -xf premake.tar.gz
env:
- PREMAKE=1
- name: Recastnavigation on Ubuntu Clang with Static Analysis
env:
- MATRIX_EVAL="CC=clang && CXX=clang++"
- ANALYZE="scan-build --force-analyze-debug-code --use-cc clang --use-c++ clang++"
if: branch != coverity_scan
compiler: clang
- name: Recastnavigation Coverity Scan
if: branch = coverity_scan
before_script:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then eval "${MATRIX_EVAL}"; fi
- if [ "${PREMAKE}" = "1" ]; then cd RecastDemo && ../premake5 gmake && cd ..; fi
- if [ "${PREMAKE}" != "1" ]; then mkdir -p build && cd build && ${ANALYZE} cmake ../ && cd ..; fi
script: # 2 CPUs on Travis-CI + 1 extra for IO bound process
- if [ "${PREMAKE}" = "1" ]; then make -C RecastDemo/Build/gmake -j3; fi
- if [ "${PREMAKE}" != "1" ]; then make -C build -j3; fi
- if [ "${PREMAKE}" = "1" ]; then RecastDemo/Bin/Tests; fi
- if [ "${PREMAKE}" != "1" ]; then cd build && ctest; fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/gitlgx/recastnavigation.git
git@gitee.com:gitlgx/recastnavigation.git
gitlgx
recastnavigation
recastnavigation
master

搜索帮助