From 0e50aa9d80d77e1de3bd5b9a18033dc5a06002a9 Mon Sep 17 00:00:00 2001 From: Kagami Hiiragi Date: Sat, 6 Apr 2019 22:02:01 +0300 Subject: [PATCH] travis try #2 --- .travis.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index d08b3f5..7c30839 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,16 +6,13 @@ matrix: - os: windows install: + - set -e - | - 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 + wget -O ~/bin/yasm.exe http://www.tortall.net/projects/yasm/releases/yasm-1.3.0-win64.exe + mkdir ~/aom && cd ~/aom git clone --depth=1 https://aomedia.googlesource.com/aom - mkdir aom_build - cd aom_build + mkdir build && cd build cmake ../aom -G 'MSYS Makefiles' \ -DCMAKE_INSTALL_PREFIX=~/aom/dist \ -DCMAKE_BUILD_TYPE=Release \ @@ -27,6 +24,8 @@ install: -DCONFIG_LOWBITDEPTH=1 make -j3 make install + export CGO_CFLAGS="-IC:/Users/travis/aom/dist/include" + export CGO_LDFLAGS="-static -LC:/Users/travis/aom/dist/lib" fi script: