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