travis linux build
This commit is contained in:
parent
0c6aafc545
commit
3aecee82c5
19
.travis.yml
19
.travis.yml
|
@ -3,7 +3,9 @@ go: stable
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: windows
|
# - os: windows
|
||||||
|
- os: linux
|
||||||
|
dist: xenial
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- set -e
|
- set -e
|
||||||
|
@ -30,6 +32,21 @@ install:
|
||||||
mingw32-make install
|
mingw32-make install
|
||||||
export CGO_CFLAGS="-IC:/Users/travis/aom/dist/include"
|
export CGO_CFLAGS="-IC:/Users/travis/aom/dist/include"
|
||||||
export CGO_LDFLAGS="-static -LC:/Users/travis/aom/dist/lib"
|
export CGO_LDFLAGS="-static -LC:/Users/travis/aom/dist/lib"
|
||||||
|
elif [[ $TRAVIS_OS_NAME == linux ]]; then
|
||||||
|
sudo apt-get install -y yasm
|
||||||
|
mkdir ~/aom && cd ~/aom
|
||||||
|
git clone --depth=1 https://aomedia.googlesource.com/aom
|
||||||
|
mkdir build && cd build
|
||||||
|
cmake ../aom \
|
||||||
|
-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
|
||||||
|
sudo make install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in New Issue