Skip to content

Commit 8f9a169

Browse files
author
alexey.gadzhiev
committed
Use arch variable for platform switch
1 parent 08dd5e1 commit 8f9a169

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.appveyor.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@ platform:
1212
- x64
1313
- x86
1414
environment:
15-
matrix:
16-
- arch: Win64
17-
# - arch: #does not work, Release|x64 not a valid target
15+
arch: Win64
1816
matrix:
1917
fast_finish: true
2018

2119
# skip unsupported combinations
2220
init:
23-
- set arch=
24-
- if "%arch%"=="Win64" ( set arch= Win64)
21+
- if "%PLATFORM%"=="x86" ( set arch=)
22+
- if "%PLATFORM%"=="x64" ( set arch= Win64)
2523
- echo %arch%
2624
- echo %PLATFORM%
2725
- echo %APPVEYOR_BUILD_WORKER_IMAGE%

0 commit comments

Comments
 (0)