More AppVeyor fixes

This commit is contained in:
Kagami Hiiragi 2019-03-19 03:47:04 +03:00
parent 313596369f
commit 8d2188212f
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ clone_folder: C:\projects\go-avif\src\github.com\Kagami\go-avif
install: install:
# Vars # Vars
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
- set PATH=%PATH%;%LOCALAPPDATA% - set PATH=%PATH%;%LOCALAPPDATA%;C:\msys64\mingw64\bin
- set GOPATH=C:\projects\go-avif - set GOPATH=C:\projects\go-avif
- set CGO_CFLAGS="-I%LOCALAPPDATA%\aom" - set CGO_CFLAGS="-I%LOCALAPPDATA%\aom"
- set CGO_LDFLAGS="-static -L%LOCALAPPDATA%\aom_build\%CONFIGURATION%" - set CGO_LDFLAGS="-static -L%LOCALAPPDATA%\aom_build\%CONFIGURATION%"
@ -17,8 +17,8 @@ install:
# libaom # libaom
- git clone --depth=1 https://aomedia.googlesource.com/aom - git clone --depth=1 https://aomedia.googlesource.com/aom
- mkdir aom_build && cd aom_build - mkdir aom_build && cd aom_build
- cmake ../aom -G "Visual Studio 15 2017" -A x64 -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DENABLE_CCACHE=1 -DCONFIG_AV1_DECODER=0 -DENABLE_DOCS=0 -DENABLE_EXAMPLES=0 -DENABLE_TOOLS=0 -DENABLE_TESTS=0 -DCONFIG_LOWBITDEPTH=1 - cmake ../aom -G "Visual Studio 15 2017" -A x64 -DENABLE_CCACHE=1 -DCONFIG_AV1_DECODER=0 -DENABLE_DOCS=0 -DENABLE_EXAMPLES=0 -DENABLE_TOOLS=0 -DENABLE_TESTS=0 -DCONFIG_LOWBITDEPTH=1
- cmake --build . - cmake --build . --config %CONFIGURATION%
build_script: build_script:
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%