diff options
author | Andy Polyakov <appro@openssl.org> | 2017-03-01 14:33:34 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2017-03-02 14:02:52 +0100 |
commit | fd74aba83652a8410a74b59de0b098232af74e33 (patch) | |
tree | bb51e4a591e231fb44007bcafd93cc7147f82148 /appveyor.yml | |
parent | Configurations/50-masm.conf: add /nologo to ml64 command line. (diff) | |
download | openssl-fd74aba83652a8410a74b59de0b098232af74e33.tar.xz openssl-fd74aba83652a8410a74b59de0b098232af74e33.zip |
appveyor.yml: streamline pull requests.
For pull requests not tagged with [extended tests]:
- short-curcuit most expensive fuzz and install tests;
- skip over non-shared builds;
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2810)
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/appveyor.yml b/appveyor.yml index d47c6cd6d7..9c896fc810 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,14 +1,15 @@ platform: - - x86 - x64 + - x86 environment: + fast_finish: true matrix: - VSVER: 14 configuration: - - plain - shared + - plain before_build: - ps: >- @@ -31,18 +32,32 @@ before_build: - cd _build - perl ..\Configure %TARGET% %SHARED% - cd .. + - ps: >- + if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER -or (&git log -2 | Select-String "\[extended tests\]") ) { + $env:EXTENDED_TESTS="yes" + } build_script: - - cd _build - - nmake - - cd .. + - ps: >- + If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) { + cd _build + &nmake + cd .. + } test_script: - - cd _build - - nmake test V=1 - - mkdir ..\_install - - nmake install install_docs DESTDIR=..\_install - - cd .. + - ps: >- + If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) { + cd _build + if ($env:EXTENDED_TESTS) { + &nmake test V=1 + mkdir ..\_install + &nmake install install_docs DESTDIR=..\_install + } Else { + &nmake test V=1 TESTS=-test_fuzz + } + cd .. + } notifications: - provider: Email |