Permalink
Browse files

ci, bugfix: fix windows build (#367)

  • Loading branch information...
ngot authored and xicilion committed Oct 26, 2017
1 parent 7bbbb14 commit 8b31858bba13a5ebc814a4518cc9492f56834131
Showing with 3 additions and 6 deletions.
  1. +3 −6 appveyor.yml
View
@@ -1,6 +1,4 @@
environment:
matrix:
- image: Visual Studio 2017
image: Visual Studio 2017
platform:
- x64
@@ -11,9 +9,8 @@ install:
- git submodule update
test_script:
- IF /I "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017"
- IF /I "%PLATFORM%" == "x64" ECHO "x64 building..." && CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 && build release amd64 && cd test && ..\bin\Windows_amd64_release\fibjs.exe --prof main.js
- IF /I "%PLATFORM%" == "x86" ECHO "x86 building..." && CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 && build release i386 && cd test && ..\bin\Windows_i386_release\fibjs.exe --prof main.js
- IF /I "%PLATFORM%" == "x64" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" && ECHO "x64 building..." && build release amd64 && cd test && ..\bin\Windows_amd64_release\fibjs.exe --prof main.js
- IF /I "%PLATFORM%" == "x86" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat" && ECHO "x86 building..." && build release i386 && cd test && ..\bin\Windows_i386_release\fibjs.exe --prof main.js
- IF /I "%APPVEYOR_REPO_TAG%" == "false" set APPVEYOR_REPO_TAG_NAME=dist
- mkdir %APPVEYOR_REPO_TAG_NAME%
- IF /I "%PLATFORM%" == "x64" copy .\bin\Windows_amd64_release\fibjs.exe .\%APPVEYOR_REPO_TAG_NAME%\fibjs-%APPVEYOR_REPO_TAG_NAME%-windows-x64.exe

0 comments on commit 8b31858

Please sign in to comment.