mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-12 13:46:17 +00:00
4809781586
On a normal macOS setup, 'gcc' is a symlink to clang. Therefore there is little point in running the tests twice, with CC=gcc and CC=clang.
31 lines
534 B
YAML
31 lines
534 B
YAML
language: c
|
|
sudo: false
|
|
os:
|
|
- linux
|
|
- osx
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- nasm
|
|
- diffutils
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
matrix:
|
|
exclude:
|
|
- os: osx
|
|
compiler: gcc
|
|
cache:
|
|
directories:
|
|
- libav-samples
|
|
before_install:
|
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update --all; fi
|
|
install:
|
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install nasm; fi
|
|
script:
|
|
- mkdir -p libav-samples
|
|
- ./configure --samples=libav-samples --cc=$CC
|
|
- make -j 8
|
|
- make fate-rsync
|
|
- make check -j 8
|