blob: ffeba38fc8973b4412608bdae8daec9962826cf6 [file] [log] [blame]
language: c
os: linux
matrix:
include:
- name: "GCC Debug"
compiler: gcc
addons:
apt:
packages:
- ninja-build
- python3
- python3-pip
before_script:
- curl -L https://download.videolan.org/contrib/nasm/nasm-2.14.tar.gz | tar xvz
- cd nasm-2.14
- ./configure && make -j2 && sudo make install
- nasm --version
- pip3 --disable-pip-version-check install setuptools
- pip3 --disable-pip-version-check install meson
- cd $TRAVIS_BUILD_DIR/ext
- bash aom.cmd
- bash dav1d.cmd
- cd ..
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug -DAVIF_CODEC_AOM=1 -DAVIF_LOCAL_AOM=1 -DAVIF_CODEC_DAV1D=1 -DAVIF_LOCAL_DAV1D=1 ..
script:
- make
- name: "GCC Release"
compiler: gcc
addons:
apt:
packages:
- ninja-build
- python3
- python3-pip
before_script:
- curl -L https://download.videolan.org/contrib/nasm/nasm-2.14.tar.gz | tar xvz
- cd nasm-2.14
- ./configure && make -j2 && sudo make install
- nasm --version
- pip3 --disable-pip-version-check install setuptools
- pip3 --disable-pip-version-check install meson
- cd $TRAVIS_BUILD_DIR/ext
- bash aom.cmd
- bash dav1d.cmd
- cd ..
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DAVIF_CODEC_AOM=1 -DAVIF_LOCAL_AOM=1 -DAVIF_CODEC_DAV1D=1 -DAVIF_LOCAL_DAV1D=1 ..
script:
- make
- name: "Clang Debug"
compiler: clang
addons:
apt:
packages:
- ninja-build
- python3
- python3-pip
before_script:
- curl -L https://download.videolan.org/contrib/nasm/nasm-2.14.tar.gz | tar xvz
- cd nasm-2.14
- ./configure && make -j2 && sudo make install
- nasm --version
- pip3 --disable-pip-version-check install setuptools
- pip3 --disable-pip-version-check install meson
- cd $TRAVIS_BUILD_DIR/ext
- bash aom.cmd
- bash dav1d.cmd
- cd ..
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug -DAVIF_CODEC_AOM=1 -DAVIF_LOCAL_AOM=1 -DAVIF_CODEC_DAV1D=1 -DAVIF_LOCAL_DAV1D=1 ..
script:
- make
- name: "Clang Release"
compiler: clang
addons:
apt:
packages:
- ninja-build
- python3
- python3-pip
before_script:
- curl -L https://download.videolan.org/contrib/nasm/nasm-2.14.tar.gz | tar xvz
- cd nasm-2.14
- ./configure && make -j2 && sudo make install
- nasm --version
- pip3 --disable-pip-version-check install setuptools
- pip3 --disable-pip-version-check install meson
- cd $TRAVIS_BUILD_DIR/ext
- bash aom.cmd
- bash dav1d.cmd
- cd ..
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DAVIF_CODEC_AOM=1 -DAVIF_LOCAL_AOM=1 -DAVIF_CODEC_DAV1D=1 -DAVIF_LOCAL_DAV1D=1 ..
script:
- make