1 Star 3 Fork 1

smile/pupillocation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 3.01 KB
一键复制 编辑 原始数据 按行查看 历史
smile 提交于 2020-10-31 09:41 . v1.0
sudo: false
language: cpp
addons:
apt:
packages:
- cmake
- libprotobuf-dev
- protobuf-compiler
- libopencv-dev
- lcov
matrix:
include:
- name: "linux-gcc-arm64"
os: linux
arch: arm64
dist: bionic
compiler: gcc
env:
- NAME=linux-gcc
- BUILD="mkdir build && cd build && cmake -DNCNN_BUILD_TESTS=ON .. && make -j2 && ctest --output-on-failure -j 2"
- name: "linux-clang-arm64"
os: linux
arch: arm64
dist: bionic
compiler: clang
env:
- NAME=linux-clang
- BUILD="mkdir build && cd build && cmake -DNCNN_BUILD_TESTS=ON .. && make -j2 && ctest --output-on-failure -j 2"
- name: "windows-vs2017"
os: windows
dist: 1803-containers
env:
- NAME=windows-vs2017
- BUILD="mkdir build && cd build && cmake -DNCNN_BUILD_TESTS=ON .. && cmake --build . --config Release && ctest -C Release --output-on-failure -j 2"
- name: "test-coverage-arm64"
os: linux
arch: arm64
dist: bionic
compiler: gcc
env:
- NAME=test-coverage-arm64
- BUILD="mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=debug -DNCNN_COVERAGE=ON -DNCNN_OPENMP=OFF -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF -DNCNN_BUILD_TESTS=ON .. && make -j2 && ctest --output-on-failure -j 2 && lcov -d ./src -c -o lcov.info && lcov -r lcov.info '/usr/*' -o lcov.info && lcov --list lcov.info && bash <(curl -s https://codecov.io/bash) -f lcov.info"
- name: "linux-gcc-arm32"
os: linux
arch: arm64
dist: bionic
env:
- NAME=linux-gcc-arm32
- BEFORE_BUILD="sudo apt-get update && sudo dpkg --add-architecture armhf && sudo rm /etc/apt/sources.list.d/mongodb*.list && sudo apt-get update && sudo apt-get -y install crossbuild-essential-armhf libc6:armhf libstdc++-5-dev:armhf linux-libc-dev:armhf"
- BUILD="mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/arm-linux-gnueabihf.toolchain.cmake -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF - -DNCNN_BUILD_TESTS=ON .. && make -j2 VERBOSE=1 && ctest --output-on-failure -j 2"
- name: "test-coverage-arm32"
os: linux
arch: arm64
dist: bionic
env:
- NAME=test-coverage-arm32
- BEFORE_BUILD="sudo apt-get update && sudo dpkg --add-architecture armhf && sudo rm /etc/apt/sources.list.d/mongodb*.list && sudo apt-get update && sudo apt-get -y install crossbuild-essential-armhf libc6:armhf libstdc++-5-dev:armhf linux-libc-dev:armhf"
- BUILD="mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/arm-linux-gnueabihf.toolchain.cmake -DCMAKE_BUILD_TYPE=debug -DNCNN_COVERAGE=ON -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF - -DNCNN_BUILD_TESTS=ON .. && make -j2 && ctest --output-on-failure -j 2 && lcov -d ./src -c -o lcov.info && lcov -r lcov.info '/usr/*' -o lcov.info && lcov --list lcov.info && bash <(curl -s https://codecov.io/bash) -f lcov.info"
before_install:
- eval "${BEFORE_BUILD}"
script:
- eval "${BUILD}"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/yijunlog/pupillocation.git
git@gitee.com:yijunlog/pupillocation.git
yijunlog
pupillocation
pupillocation
master

搜索帮助