加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
lizimian 提交于 2022-05-23 20:51 . update makefile
language: cpp
dist: xenial
compiler:
- g++
- clang
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq nasm g++-multilib gcc-multilib libc6-dev-i386 python3-pip python3-setuptools
- sudo python3 -m pip install meson==0.50.1 ninja
install:
- make gmp-bootstrap
- make gtest-bootstrap
- meson builddir
- ninja -C builddir -v
before_script:
- WorkingDir=`pwd`
- cd test/encoder_binary_comparison
- ./run_PrepareAllTestData.sh 64
- cd ${WorkingDir}
env:
- TASK=UnitTest; TestParameter=""
- TASK=BinaryCompare; TestParameter=BA_MW_D.264
- TASK=BinaryCompare; TestParameter=Zhling_1280x720.264
- TASK=BinaryCompare; TestParameter=Adobe_PDF_sample_a_1024x768_50Frms.264
matrix:
exclude:
- compiler: clang
env: TASK=BinaryCompare; TestParameter=BA_MW_D.264
- compiler: clang
env: TASK=BinaryCompare; TestParameter=Zhling_1280x720.264
- compiler: clang
env: TASK=BinaryCompare; TestParameter=Adobe_PDF_sample_a_1024x768_50Frms.264
script:
- echo "currrent test is for ${TASK}"
- echo "test parameter is ${TestParameter}"
- ./run_Test.sh ${TASK} ${TestParameter}
- if [ ${TASK} == "UnitTest" ]; then echo "Running meson test suite"; meson test -C builddir -v; fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化