1language: cpp 2dist: xenial 3 4compiler: 5 - g++ 6 - clang 7 8before_install: 9 - sudo apt-get update -qq 10 - sudo apt-get install -qq nasm g++-multilib gcc-multilib libc6-dev-i386 python3-pip python3-setuptools 11 - sudo python3 -m pip install meson==0.50.1 ninja 12 13install: 14 - make gmp-bootstrap 15 - make gtest-bootstrap 16 - meson builddir 17 - ninja -C builddir -v 18 19before_script: 20 - WorkingDir=`pwd` 21 - cd test/encoder_binary_comparison 22 - ./run_PrepareAllTestData.sh 64 23 - cd ${WorkingDir} 24 25env: 26 - TASK=UnitTest; TestParameter="" 27 - TASK=BinaryCompare; TestParameter=BA_MW_D.264 28 - TASK=BinaryCompare; TestParameter=Zhling_1280x720.264 29 - TASK=BinaryCompare; TestParameter=Adobe_PDF_sample_a_1024x768_50Frms.264 30matrix: 31 exclude: 32 - compiler: clang 33 env: TASK=BinaryCompare; TestParameter=BA_MW_D.264 34 - compiler: clang 35 env: TASK=BinaryCompare; TestParameter=Zhling_1280x720.264 36 - compiler: clang 37 env: TASK=BinaryCompare; TestParameter=Adobe_PDF_sample_a_1024x768_50Frms.264 38script: 39 - echo "currrent test is for ${TASK}" 40 - echo "test parameter is ${TestParameter}" 41 - ./run_Test.sh ${TASK} ${TestParameter} 42 - if [ ${TASK} == "UnitTest" ]; then echo "Running meson test suite"; meson test -C builddir -v; fi 43