加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
BUG1989 提交于 2020-08-11 21:38 . fix_wino_x86 (#368)
sudo: false
language: cpp
addons:
apt:
packages:
- cmake
- libopencv-dev
matrix:
include:
- name: "linux-gcc"
os: linux
dist: xenial
compiler: gcc
env:
- NAME=linux-gcc
- BUILD="mkdir build && cd build && cmake .. && make -j2"
- TEST="ctest --output-on-failure -j 2"
- name: "linux-gcc-arm32"
os: linux
arch: arm64
dist: bionic
env:
- NAME=linux-gcc-arm32
- BEFORE_BUILD="sudo apt update && sudo dpkg --add-architecture armhf && sudo apt update && sudo apt -y install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf && sudo apt -y install libc6:armhf libncurses5:armhf libstdc++6:armhf libgomp1:armhf"
- BUILD="mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/arm-linux-gnueabihf.toolchain.cmake .. && make -j2"
- TEST="ctest --output-on-failure -j 2"
- name: "linux-gcc-arm64"
os: linux
arch: arm64
dist: bionic
compiler: gcc
env:
- NAME=linux-gcc-arm64
- BUILD="mkdir build && cd build && cmake .. && make -j2"
- TEST="ctest --output-on-failure -j 2"
before_install:
- eval "${BEFORE_BUILD}"
script:
- eval "${BUILD}"
- eval "${TEST}"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化