chore: run tests in x64 and x86 in Appveyor (#963)

This will allow us to later publish development builds for both
architectures from Appveyor. In order to easily do so, the Makefile is
used instead of the current `./scripts/build/windows.bat`.

Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
This commit is contained in:
Juan Cruz Viotti 2016-12-12 14:33:16 -04:00 committed by GitHub
parent 61860a79e3
commit e6d5d9c910
2 changed files with 7 additions and 4 deletions

View File

@ -82,7 +82,7 @@ endif
#
# make <target> TARGET_ARCH=<arch>
#
TARGET_ARCH = $(HOST_ARCH)
TARGET_ARCH ?= $(HOST_ARCH)
# ---------------------------------------------------------------------
# Code signing

View File

@ -17,22 +17,25 @@ cache:
environment:
global:
ELECTRON_NO_ATTACH_CONSOLE: true
nodejs_version: 6.1.0
matrix:
- nodejs_version: 6.1.0
- TARGET_ARCH: x64
- TARGET_ARCH: x86
install:
- ps: Install-Product node $env:nodejs_version x64
- npm install -g npm bower rimraf asar
- choco install nsis -version 2.51
- choco install upx
- choco install 7zip.commandline
- choco install jq
- set PATH=C:\Program Files (x86)\Windows Kits\8.1\bin\x86;%PATH%
- set PATH=C:\Program Files (x86)\NSIS;%PATH%
- set PATH=C:\Ruby22\bin;%PATH%
- set PATH=C:\MinGW\bin;%PATH%
- set PATH=C:\MinGW\msys\1.0\bin;%PATH%
- gem install scss_lint
- .\scripts\build\windows.bat install x64
- make info
- make electron-develop
build: off