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