summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-05-10 18:26:45 +0800
committerTitanSnow <[email protected]>2017-05-10 19:13:08 +0800
commit1210d50fff01fe3089e57b458bb8a884b0d34d1b (patch)
treee6f13d403aa7fbb366463cee8de6b9b6cd461805
parent8e33ff0dd31832fcf55f350d948ed6d7ec696109 (diff)
use get.ps1 to build
-rw-r--r--appveyor.yml19
1 files changed, 6 insertions, 13 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 991564aa0..5b65991a6 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,4 +1,4 @@
-os:
+os:
- Visual Studio 2015
- Visual Studio 2017
@@ -6,16 +6,9 @@ platform:
- Win32
- Win64
-before_build:
- - ps: Invoke-WebRequest "https://github.com/tboox/xmake/releases/download/v2.1.2/xmake-v2.1.2.exe" -OutFile "xmake-installer.exe"
- - cmd: xmake-installer.exe /S /D=C:\xmake
- - cmd: PATH=%PATH%;C:\xmake
- - cmd: xmake --version
- - ps: cp -r -force xmake\* C:\xmake
- - cmd: xmake --version
- - cmd: dir C:\xmake
-
build_script:
- - cmd: cd core
- - cmd: if %platform%==Win64 xmake f -a x64
- - cmd: xmake -v
+ - ps: Invoke-Expression (Get-Content scripts\get.ps1 | Out-String)
+ - cmd: xmake lua versioninfo
+ - cmd: xmake -P core
+ - cmd: XMAKE_PROGRAM_DIR=%cd%\xmake
+ - cmd: core\build\xmake lua versioninfo