X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=appveyor.yml;h=cca4a9a21cdb7fced9d828ee600e3c62b6ec43cb;hp=a5d05c6bdcdbb7174ef1de51157229885a468971;hb=5d61758ee70aebb479d6f7a43483af405c0031a2;hpb=6356716ac09d94a0c85fd6e5ad12f088c54d75c0 diff --git a/appveyor.yml b/appveyor.yml index a5d05c6bdc..cca4a9a21c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -15,22 +15,23 @@ before_build: - ps: >- If ($env:Platform -Match "x86") { $env:VCVARS_PLATFORM="x86" - $env:TARGET="VC-WIN32 no-asm" + $env:TARGET="VC-WIN32 no-asm --strict-warnings" } Else { $env:VCVARS_PLATFORM="amd64" $env:TARGET="VC-WIN64A-masm" } - ps: >- If ($env:Configuration -Match "shared") { - $env:SHARED="" + $env:SHARED="no-makedepend" } Else { - $env:SHARED="no-shared" + $env:SHARED="no-shared no-makedepend" } - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS")) - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM% - mkdir _build - cd _build - perl ..\Configure %TARGET% %SHARED% + - perl configdata.pm --dump - cd .. - ps: >- if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER` @@ -39,31 +40,27 @@ before_build: } build_script: + - cd _build - ps: >- If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) { - cd _build - cmd /c "nmake 2>&1" - cd .. + cmd /c "nmake build_all_generated 2>&1" + cmd /c "nmake PERL=no-perl 2>&1" } + - cd .. test_script: + - cd _build - ps: >- If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) { - cd _build if ($env:EXTENDED_TESTS) { - cmd /c "nmake test V=1 2>&1" - mkdir ..\_install - cmd /c "nmake install install_docs DESTDIR=..\_install 2>&1" + cmd /c "nmake test HARNESS_VERBOSE_FAILURE=yes 2>&1" } Else { - cmd /c "nmake test V=1 TESTS=-test_fuzz 2>&1" + cmd /c "nmake test HARNESS_VERBOSE_FAILURE=yes TESTS=-test_fuzz 2>&1" } - cd .. } - -notifications: - - provider: Email - to: - - openssl-commits@openssl.org - on_build_success: false - on_build_failure: true - on_build_status_changed: true + - ps: >- + if ($env:EXTENDED_TESTS) { + mkdir ..\_install + cmd /c "nmake install DESTDIR=..\_install 2>&1" + } + - cd ..