.appveyor.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. version: "{branch}.build.{build}"
  2. image: Visual Studio 2019
  3. clone_depth: 1
  4. skip_commits:
  5. files:
  6. - docs/*
  7. - NEWS
  8. - UPGRADING
  9. - UPGRADING.INTERNALS
  10. cache:
  11. - c:\build-cache
  12. environment:
  13. PHP_BUILD_CACHE_BASE_DIR: c:\build-cache
  14. PHP_BUILD_OBJ_DIR: c:\obj
  15. PHP_BUILD_CACHE_SDK_DIR: c:\build-cache\sdk
  16. PHP_BUILD_SDK_BRANCH: php-sdk-2.2.0
  17. PHP_BUILD_CRT: vs16
  18. # ext and env setup for tests
  19. #MYSQL_TEST_PASSWD: Password12!
  20. #MYSQL_TEST_USER: root
  21. #PDO_MYSQL_TEST_DSN: "pgsql:host=127.0.0.1 port=5432 dbname=test user=root password=Password12!"
  22. #PDO_MYSQL_TEST_USER: root
  23. #PDO_MYSQL_TEST_PASS: Password12!
  24. #PGSQL_TEST_CONNSTR: "host=127.0.0.1 dbname=test port=5432 user=postgres password=Password12!"
  25. #PDO_PGSQL_TEST_DSN: "pgsql:host=127.0.0.1 port=5432 dbname=test user=postgres password=Password12!"
  26. #build permutations
  27. matrix:
  28. - THREAD_SAFE: 0
  29. OPCACHE: 0
  30. PARALLEL: -j2
  31. - THREAD_SAFE: 1
  32. OPCACHE: 1
  33. PARALLEL: -j2
  34. INTRINSICS: AVX2
  35. services:
  36. # the setup scripts have to be touched, once some other db version is used
  37. - mysql
  38. - postgresql101
  39. - mssql2017
  40. platform:
  41. - x64
  42. #- x86
  43. build_script:
  44. - .github\scripts\windows\build.bat
  45. test_script:
  46. - .github\scripts\windows\test.bat