37355f9c57
SourceMod doesn't support Source 1 Dota 2 anymore and neither Source 2. Speed up CI by only cloning the hl2sdks that are tested. This adds a `-s sdk1,sdk2` parameter to the checkout-deps.sh script similar to the `-SDKs` option of the powershell script to select specific sdks to update instead of all.
17 lines
514 B
YAML
17 lines
514 B
YAML
version: 1.0.{build}
|
|
image: Visual Studio 2015
|
|
clone_folder: c:/projects/sourcemod
|
|
clone_depth: 1
|
|
install:
|
|
- cmd: git submodule update --init --recursive
|
|
- cmd: git pull --recurse-submodules
|
|
- cmd: cd ..
|
|
- ps: sourcemod/tools/checkout-deps.ps1 -SDKs episode1,css,tf2,l4d2,csgo
|
|
- cmd: cd sourcemod
|
|
build_script:
|
|
- cmd: call "%VS140COMNTOOLS%/vsvars32.bat"
|
|
- cmd: mkdir build
|
|
- cmd: cd build
|
|
- cmd: c:\python27\python.exe ../configure.py --enable-optimize --no-mysql --sdks=episode1,css,tf2,l4d2,csgo
|
|
- cmd: ambuild
|