4 environment: # enable mingw build on windows image
11 exclude: # no mingw build on linux
17 if ($env:BUILD_TYPE -eq 'mingw') {
18 cmd /C 'curl -fsSL -o SDL2-devel-2.0.10-mingw.tar.gz https://www.libsdl.org/release/SDL2-devel-2.0.10-mingw.tar.gz'
19 C:\msys64\usr\bin\bash.exe -lc "tar xzf SDL2-devel-2.0.10-mingw.tar.gz"
22 cmd /C 'curl -fsSL -o SDL2-devel-2.0.9-VC.zip https://www.libsdl.org/release/SDL2-devel-2.0.9-VC.zip'
23 7z x SDL2-devel-2.0.9-VC.zip
27 bash -c "sudo apt-get update -qq"
28 bash -c "sudo apt-get install -qq cmake cmake-data libsdl2-dev libxml2-dev"
34 if ($isWindows -and $env:BUILD_TYPE -eq 'mingw') {
35 C:\msys64\usr\bin\bash.exe -lc "cmake .. -G 'MSYS Makefiles'"
36 C:\msys64\usr\bin\bash.exe -lc "cmake --build ."
42 # TODO(#866): Unit Tests are not run on Windows CI build
43 # https://ci.appveyor.com/project/rexim/nothing/builds/24807772/job/nr36kt098djthl4l#L431