diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-08-22 22:36:44 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-08-23 04:22:03 +0300 |
commit | 7ad3d05e965af73f223ce040996384e1961b26ae (patch) | |
tree | b3926c0829de1abaacc23e849c1487fadacb5d5e /appveyor.yml | |
parent | AppVeyor: build km/ (diff) | |
download | windows7-drivers-7ad3d05e965af73f223ce040996384e1961b26ae.tar.gz windows7-drivers-7ad3d05e965af73f223ce040996384e1961b26ae.zip |
AppVeyor: add test.ps1
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml index 20ee0ef..178db2b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,6 +5,12 @@ branches: only: - master +#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')) + platform: - Win32 - x64 @@ -15,3 +21,22 @@ configuration: 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 AddMessage "Enabling self-signed drivers..." + - bcdedit.exe /set TESTSIGNING ON + - appveyor AddMessage "Rebooting the worker..." + - ps: Restart-Computer -Force + - ps: Start-Sleep -s 10 + - appveyor AddMessage "OK" + + test_script: + - ps: .\.appveyor\test.ps1 |