THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

appveyor.yml 1.7KB

  1. platform:
  2. - x64
  3. - x86
  4. environment:
  5. fast_finish: true
  6. matrix:
  7. - VSVER: 14
  8. configuration:
  9. - shared
  10. - plain
  11. before_build:
  12. - ps: >-
  13. If ($env:Platform -Match "x86") {
  14. $env:VCVARS_PLATFORM="x86"
  15. $env:TARGET="VC-WIN32 no-asm"
  16. } Else {
  17. $env:VCVARS_PLATFORM="amd64"
  18. $env:TARGET="VC-WIN64A-masm"
  19. }
  20. - ps: >-
  21. If ($env:Configuration -Match "shared") {
  22. $env:SHARED="no-makedepend"
  23. } Else {
  24. $env:SHARED="no-shared no-makedepend"
  25. }
  26. - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
  27. - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
  28. - mkdir _build
  29. - cd _build
  30. - perl ..\Configure %TARGET% %SHARED%
  31. - perl configdata.pm --dump
  32. - cd ..
  33. - ps: >-
  34. if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER`
  35. -or (&git log -2 | Select-String "\[extended tests\]") ) {
  36. $env:EXTENDED_TESTS="yes"
  37. }
  38. build_script:
  39. - cd _build
  40. - ps: >-
  41. If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
  42. cmd /c "nmake build_all_generated 2>&1"
  43. cmd /c "nmake PERL=no-perl 2>&1"
  44. }
  45. - cd ..
  46. test_script:
  47. - cd _build
  48. - ps: >-
  49. If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
  50. if ($env:EXTENDED_TESTS) {
  51. cmd /c "nmake test HARNESS_VERBOSE_FAILURE=yes 2>&1"
  52. } Else {
  53. cmd /c "nmake test HARNESS_VERBOSE_FAILURE=yes TESTS=-test_fuzz 2>&1"
  54. }
  55. }
  56. - ps: >-
  57. if ($env:EXTENDED_TESTS) {
  58. mkdir ..\_install
  59. cmd /c "nmake install DESTDIR=..\_install 2>&1"
  60. }
  61. - cd ..