代码拉取完成,页面将自动刷新
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}"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。