aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/appveyor.yml
blob: 0b271a9a287c91f5702b5723d1c7ec6aa1db296d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: '{build}'
image: Visual Studio 2013

#environment:
#  APPVEYOR_RDP_PASSWORD: 'FooBar01!'

#on_finish:
#  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

environment:
  matrix:
    - appveyor_driver_target_os: Win7
    - appveyor_driver_target_os: Win8
    - appveyor_driver_target_os: Win8.1

platform:
  - Win32
  - x64

configuration:
  - Debug
  - Release

build_script:
  - ps: .\.appveyor\build.ps1

# Workers are 64-bit, can't load 32-bit drivers.
for:
- matrix:
    only:
      - platform: x64

  # https://github.com/appveyor/ci/issues/715
  install:
    - appveyor.exe AddMessage "Enabling self-signed drivers..."
    - bcdedit.exe /set TESTSIGNING ON
    - appveyor.exe AddMessage "Rebooting the worker..."
    - ps: Restart-Computer -Force
    - ps: Start-Sleep -s 10
    - appveyor.exe AddMessage "OK"

  test_script:
    - ps: .\.appveyor\test.ps1