summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-03-25 21:59:22 +0800
committerTitanSnow <[email protected]>2017-03-25 21:59:22 +0800
commit1e766da707d9b1075144303755f4e772fa33193d (patch)
treed6667d361a9fac03dd495320759d3ef83b74dbb5
parente03667d0298c266238135895b7a58e34e481a25d (diff)
fix build failure on appveyor
modify appveyor.yml to fit new appveyor build environment use windows-style command
-rw-r--r--appveyor.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 839a1929d..b8a88d8b5 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -5,16 +5,16 @@ platform:
- Win64
before_build:
- - cmd: curl -fsSL https://github.com/tboox/xmake/releases/download/v2.0.5/xmake-v2.0.5.exe -o xmake-installer.exe
- - cmd: mkdir program
- - cmd: xmake-installer.exe /S /D=program
+ - 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
- - cmd: cp -r xmake/* program/
+ - ps: cp -r -force xmake\* C:\xmake
- cmd: xmake --version
- - cmd: ls program
+ - cmd: dir C:\xmake
build_script:
- - cmd: cd ./tests/console_c
+ - cmd: cd tests\console_c
- cmd: if %platform%==Win32 xmake f -m debug
- cmd: if %platform%==Win64 xmake f -m debug -a x64
- cmd: xmake