mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
ecb5546e97
* commit '899ee03088d55152a48830df0899887f055da1de': Unbreak travis on macos Merged-by: James Almer <jamrial@gmail.com>
31 lines
531 B
YAML
31 lines
531 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:
|
|
- ffmpeg-samples
|
|
before_install:
|
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
|
|
install:
|
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install nasm; fi
|
|
script:
|
|
- mkdir -p ffmpeg-samples
|
|
- ./configure --samples=ffmpeg-samples --cc=$CC
|
|
- make -j 8
|
|
- make fate-rsync
|
|
- make check -j 8
|