First try on travis win build
This commit is contained in:
parent
56bf6a5ce2
commit
92f0d0c368
41
.travis.yml
41
.travis.yml
|
@ -1,13 +1,38 @@
|
||||||
dist: xenial
|
|
||||||
language: go
|
language: go
|
||||||
go: stable
|
go: stable
|
||||||
addons:
|
|
||||||
apt:
|
matrix:
|
||||||
sources:
|
include:
|
||||||
- sourceline: "ppa:jonathonf/ffmpeg-4"
|
- os: windows
|
||||||
packages:
|
|
||||||
- libaom-dev
|
install:
|
||||||
script: make build test
|
- |
|
||||||
|
set -e
|
||||||
|
if [[ $TRAVIS_OS_NAME == windows ]]; then
|
||||||
|
choco install msys2
|
||||||
|
mkdir ~/aom
|
||||||
|
cd ~/aom
|
||||||
|
pacman --noconfirm -S mingw-w64-x86_64-cmake mingw-w64-x86_64-yasm
|
||||||
|
git clone --depth=1 https://aomedia.googlesource.com/aom
|
||||||
|
mkdir aom_build
|
||||||
|
cd aom_build
|
||||||
|
cmake ../aom -G 'MSYS Makefiles' \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=~/aom/dist \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCONFIG_AV1_DECODER=0 \
|
||||||
|
-DENABLE_DOCS=0 \
|
||||||
|
-DENABLE_EXAMPLES=0 \
|
||||||
|
-DENABLE_TOOLS=0 \
|
||||||
|
-DENABLE_TESTS=0 \
|
||||||
|
-DCONFIG_LOWBITDEPTH=1
|
||||||
|
make -j3
|
||||||
|
make install
|
||||||
|
fi
|
||||||
|
|
||||||
|
script:
|
||||||
|
- cd $TRAVIS_BUILD_DIR
|
||||||
|
- go get -v ./...
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
on_success: never
|
on_success: never
|
||||||
|
|
Loading…
Reference in New Issue