Use per-configuration build matrix for AppVeyor.

This commit is contained in:
Sönke Ludwig 2017-01-23 09:08:24 +01:00
parent 52e40ea158
commit 5d3bc7e235

View file

@ -2,26 +2,33 @@ platform: x64
environment: environment:
matrix: matrix:
- DC: dmd - DC: dmd
DVersion: 2.073.2 DVersion: 2.073.0
arch: x64 arch: x64
config: select
- DC: dmd - DC: dmd
DVersion: 2.073.2 DVersion: 2.073.0
arch: x86 arch: x86
config: select
- DC: dmd - DC: dmd
DVersion: 2.072.2 DVersion: 2.072.2
arch: x64 arch: x64
config: select
- DC: dmd - DC: dmd
DVersion: 2.071.1 DVersion: 2.071.1
arch: x86 arch: x86
config: select
- DC: dmd - DC: dmd
DVersion: 2.070.0 DVersion: 2.070.0
arch: x64 arch: x64
config: select
- DC: ldc - DC: ldc
DVersion: 1.1.0-beta6 DVersion: 1.1.0-beta6
arch: x86 arch: x86
config: select
- DC: ldc - DC: ldc
DVersion: 1.0.0 DVersion: 1.0.0
arch: x86 arch: x86
config: select
matrix: matrix:
allow_failures: allow_failures:
@ -96,6 +103,7 @@ before_build:
- '"%compilersetup%" %compilersetupargs%' - '"%compilersetup%" %compilersetupargs%'
build_script: build_script:
- dub build -b release --arch=%Darch% --compiler=%DC% --config=%CONFIG%
- echo dummy build script - dont remove me - echo dummy build script - dont remove me
test_script: test_script:
@ -103,6 +111,5 @@ test_script:
- echo %Darch% - echo %Darch%
- echo %DC% - echo %DC%
- echo %PATH% - echo %PATH%
- set CONFIG=select
- '%DC% --version' - '%DC% --version'
- dub test --arch=%Darch% --compiler=%DC% --config=%CONFIG% - dub test --arch=%Darch% --compiler=%DC% --config=%CONFIG%