mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
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:
parent
61860a79e3
commit
e6d5d9c910
2
Makefile
2
Makefile
@ -82,7 +82,7 @@ endif
|
||||
#
|
||||
# make <target> TARGET_ARCH=<arch>
|
||||
#
|
||||
TARGET_ARCH = $(HOST_ARCH)
|
||||
TARGET_ARCH ?= $(HOST_ARCH)
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# Code signing
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user