Permalink
Browse files

ci, bugfix: fix windows build (#366)

  • Loading branch information...
ngot authored and xicilion committed Oct 24, 2017
1 parent ec8362f commit a24b4b404edbae5d9c14df6ab4390d6b3bfbae89
Showing with 4 additions and 4 deletions.
  1. +4 −4 appveyor.yml
View
@@ -1,6 +1,6 @@
environment:
matrix:
- image: Visual Studio 2015
- image: Visual Studio 2017
platform:
- x64
@@ -11,9 +11,9 @@ install:
- git submodule update
test_script:
- IF /I "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" set NOXP=noxp
- IF /I "%PLATFORM%" == "x64" ECHO "x64 building..." && CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 && build release amd64 !NOXP! && 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 !NOXP! && cd test && ..\bin\Windows_i386_release\fibjs.exe --prof main.js
- 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 "%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 a24b4b4

Please sign in to comment.