-# TODO(#1179): Appveyor build does not support SCU
+# TODO: appveyor linux build does not support clang
+# TODO: appveyor does not support macos build
image:
- ubuntu1804
- Visual Studio 2015
}
} else {
bash -c "sudo apt-get update -qq"
- bash -c "sudo apt-get install -qq libsdl2-dev libxml2-dev"
+ bash -c "sudo apt-get install -qq libsdl2-dev"
}
build_script:
- mkdir build
- cd build
- ps: |
- if ($isWindows -and $env:BUILD_TYPE -eq 'mingw') {
- C:\msys64\usr\bin\bash.exe -lc "cmake .. -G 'MSYS Makefiles' -DNOTHING_CI=ON"
- C:\msys64\usr\bin\bash.exe -lc "cmake --build ."
+ if ($isWindows) {
+ if ($env:BUILD_TYPE -eq 'mingw') {
+ C:\msys64\usr\bin\bash.exe -lc "cmake .. -G 'MSYS Makefiles' -DNOTHING_CI=ON"
+ C:\msys64\usr\bin\bash.exe -lc "cmake --build ."
+ } else {
+ cmake .. -DNOTHING_CI=ON
+ cmake --build .
+ }
} else {
- cmake .. -DNOTHING_CI=ON
- cmake --build .
+ bash -c "./build-posix.sh"
}