From 1e766da707d9b1075144303755f4e772fa33193d Mon Sep 17 00:00:00 2001 From: TitanSnow Date: Sat, 25 Mar 2017 21:59:22 +0800 Subject: fix build failure on appveyor modify appveyor.yml to fit new appveyor build environment use windows-style command --- appveyor.yml | 12 ++++++------ 1 file 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 -- cgit v1.3.1