From aa048f4e04625eedb1f91b479ee86f5636d2044d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 11 Jan 2020 12:27:37 +0300 Subject: appveyor.yml -> .appveyor.yml --- .appveyor.yml | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ appveyor.yml | 61 ----------------------------------------------------------- 2 files changed, 61 insertions(+), 61 deletions(-) create mode 100644 .appveyor.yml delete mode 100644 appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..a300af1 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,61 @@ +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: + global: + python_exe: C:\Python36-x64\python.exe + install_dir: C:\Projects\install\win7drv + matrix: + - appveyor_driver_target_os: Win7 + - appveyor_driver_target_os: Win8 + - appveyor_driver_target_os: Win8.1 + +platform: + - Win32 + - x64 + +configuration: + - Debug + - Release + +install: + - git submodule update --init --recursive + +build_script: + - '"%python_exe%" um\cmake\cmake\build\ci\appveyor.py --install "%install_dir%"' + - ps: .\.appveyor\build.ps1 -InstallDir $env:install_dir + +after_build: + - 7z.exe a "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%-%appveyor_driver_target_os%.zip" "%install_dir%" + - appveyor.exe PushArtifact "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%-%appveyor_driver_target_os%.zip" + +for: +# Only build Release builds for master to speed things up: +- branches: + except: + - master + configuration: + - Debug + +# Workers are 64-bit, can't load 32-bit drivers. +# https://github.com/appveyor/ci/issues/715 +- matrix: + only: + - platform: x64 + install: + - git submodule update --init --recursive + - 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 -InstallDir $env:install_dir diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index a300af1..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,61 +0,0 @@ -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: - global: - python_exe: C:\Python36-x64\python.exe - install_dir: C:\Projects\install\win7drv - matrix: - - appveyor_driver_target_os: Win7 - - appveyor_driver_target_os: Win8 - - appveyor_driver_target_os: Win8.1 - -platform: - - Win32 - - x64 - -configuration: - - Debug - - Release - -install: - - git submodule update --init --recursive - -build_script: - - '"%python_exe%" um\cmake\cmake\build\ci\appveyor.py --install "%install_dir%"' - - ps: .\.appveyor\build.ps1 -InstallDir $env:install_dir - -after_build: - - 7z.exe a "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%-%appveyor_driver_target_os%.zip" "%install_dir%" - - appveyor.exe PushArtifact "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%-%appveyor_driver_target_os%.zip" - -for: -# Only build Release builds for master to speed things up: -- branches: - except: - - master - configuration: - - Debug - -# Workers are 64-bit, can't load 32-bit drivers. -# https://github.com/appveyor/ci/issues/715 -- matrix: - only: - - platform: x64 - install: - - git submodule update --init --recursive - - 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 -InstallDir $env:install_dir -- cgit v1.2.3