2015-03-10 00:34:52 +03:00
|
|
|
version: 1.0.{build}
|
|
|
|
clone_folder: c:\projects\amxmodx
|
|
|
|
install:
|
2015-03-10 01:12:27 +03:00
|
|
|
- git submodule update --init --recursive
|
2015-03-10 00:34:52 +03:00
|
|
|
- 'c:'
|
|
|
|
- chdir c:\projects
|
|
|
|
- git clone https://github.com/alliedmodders/ambuild
|
|
|
|
- git clone https://github.com/alliedmodders/metamod-hl1
|
|
|
|
- git clone https://github.com/alliedmodders/hlsdk
|
2017-11-01 01:06:30 +03:00
|
|
|
- ps: Start-FileDownload 'http://cdn.mysql.com/archives/mysql-5.5/mysql-5.5.54-win32.zip'
|
|
|
|
- 7z x mysql-5.5.54-win32.zip -o"mysql"
|
|
|
|
- cd mysql
|
|
|
|
- ren mysql-5.5.54-win32 mysql-5.5
|
|
|
|
- move /Y mysql-5.5 ..\
|
|
|
|
- cd ..\ambuild
|
2015-03-10 00:34:52 +03:00
|
|
|
- c:\python27\python setup.py install
|
|
|
|
- cd ..\amxmodx
|
2017-11-01 01:06:30 +03:00
|
|
|
cache:
|
|
|
|
- c:\projects\*.zip -> appveyor.yml
|
|
|
|
- c:\projects\mysql-5.5 -> appveyor.yml
|
2015-03-10 00:34:52 +03:00
|
|
|
build_script:
|
|
|
|
- '"%VS120COMNTOOLS%\vsvars32.bat"'
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2017-11-01 01:06:30 +03:00
|
|
|
- c:\python27\python ../configure.py --enable-optimize
|
2015-03-10 00:34:52 +03:00
|
|
|
- c:\python27\scripts\ambuild
|