Skip to content

Commit 9d9c917

Browse files
authored
Build and test with PHPC 1.17-stable (#1193)
* Build and test with PHPC 1.17-stable * Remove benchmarks from GitHub Actions * Test with stable PHPC version on GitHub Actions
1 parent 8ee5560 commit 9d9c917

File tree

10 files changed

+179
-250
lines changed

10 files changed

+179
-250
lines changed

.evergreen/config/generated/build/build-php-7.4.yml

+28-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/generated/build/build-php-8.0.yml

+28-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/generated/build/build-php-8.1.yml

+28-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/generated/build/build-php-8.2.yml

+28-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/templates/build/build-extension.yml

+28-32
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,34 @@ tasks:
66
vars:
77
PHP_VERSION: "%phpVersion%"
88
- func: "compile extension"
9-
# TODO: Remove this variable once PHPC 1.17.0 is released
9+
- func: "upload extension"
10+
- name: "build-php-%phpVersion%-lowest"
11+
tags: ["build", "php%phpVersion%", "lowest"]
12+
commands:
13+
- func: "locate PHP binaries"
14+
vars:
15+
PHP_VERSION: "%phpVersion%"
16+
- func: "compile extension"
17+
vars:
18+
EXTENSION_VERSION: "1.17.0"
19+
- func: "upload extension"
20+
- name: "build-php-%phpVersion%-next-stable"
21+
tags: ["build", "php%phpVersion%", "next-stable"]
22+
commands:
23+
- func: "locate PHP binaries"
24+
vars:
25+
PHP_VERSION: "%phpVersion%"
26+
- func: "compile extension"
27+
vars:
28+
EXTENSION_BRANCH: "v1.17"
29+
- func: "upload extension"
30+
- name: "build-php-%phpVersion%-next-minor"
31+
tags: ["build", "php%phpVersion%", "next-minor"]
32+
commands:
33+
- func: "locate PHP binaries"
34+
vars:
35+
PHP_VERSION: "%phpVersion%"
36+
- func: "compile extension"
1037
vars:
1138
EXTENSION_BRANCH: "master"
1239
- func: "upload extension"
13-
# TODO: Re-enable these tasks once PHPC 1.17.0 is released
14-
# - name: "build-php-%phpVersion%-lowest"
15-
# tags: ["build", "php%phpVersion%", "lowest"]
16-
# commands:
17-
# - func: "locate PHP binaries"
18-
# vars:
19-
# PHP_VERSION: "%phpVersion%"
20-
# - func: "compile extension"
21-
# vars:
22-
# EXTENSION_VERSION: "1.17.0"
23-
# - func: "upload extension"
24-
# - name: "build-php-%phpVersion%-next-stable"
25-
# tags: ["build", "php%phpVersion%", "next-stable"]
26-
# commands:
27-
# - func: "locate PHP binaries"
28-
# vars:
29-
# PHP_VERSION: "%phpVersion%"
30-
# - func: "compile extension"
31-
# vars:
32-
# EXTENSION_BRANCH: "v1.17"
33-
# - func: "upload extension"
34-
# - name: "build-php-%phpVersion%-next-minor"
35-
# tags: ["build", "php%phpVersion%", "next-minor"]
36-
# commands:
37-
# - func: "locate PHP binaries"
38-
# vars:
39-
# PHP_VERSION: "%phpVersion%"
40-
# - func: "compile extension"
41-
# vars:
42-
# EXTENSION_BRANCH: "master"
43-
# - func: "upload extension"

.evergreen/config/test-variants.yml

+31-4
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,44 @@ buildvariants:
8888
run_on: debian92-small
8989
expansions:
9090
FETCH_BUILD_VARIANT: "build-debian92"
91-
# TODO: Change to build-php-7.4-lowest once PHPC 1.17.0 is released
92-
FETCH_BUILD_TASK: "build-php-7.4"
91+
FETCH_BUILD_TASK: "build-php-7.4-lowest"
9392
PHP_VERSION: "7.4"
9493
DEPENDENCIES: "lowest"
9594
depends_on:
9695
- variant: "build-debian92"
97-
# TODO: Change to build-php-7.4-lowest once PHPC 1.17.0 is released
98-
name: "build-php-7.4"
96+
name: "build-php-7.4-lowest"
9997
tasks:
10098
- ".replicaset .local .3.6 !.csfle"
10199

100+
# Test with upcoming PHPC versions
101+
- name: test-debian11-php82-phpc-next-stable
102+
tags: ["test", "debian", "x64"]
103+
display_name: "Test: Debian 11, PHP 8.2, PHPC next-stable"
104+
run_on: debian11-small
105+
expansions:
106+
FETCH_BUILD_VARIANT: "build-debian11"
107+
FETCH_BUILD_TASK: "build-php-8.2-next-stable"
108+
PHP_VERSION: "8.2"
109+
depends_on:
110+
- variant: "build-debian11"
111+
name: "build-php-8.2-next-stable"
112+
tasks:
113+
- ".replicaset .local .7.0 !.csfle"
114+
115+
- name: test-debian11-php82-phpc-next-minor
116+
tags: ["test", "debian", "x64"]
117+
display_name: "Test: Debian 11, PHP 8.2, PHPC next-minor"
118+
run_on: debian11-small
119+
expansions:
120+
FETCH_BUILD_VARIANT: "build-debian11"
121+
FETCH_BUILD_TASK: "build-php-8.2-next-minor"
122+
PHP_VERSION: "8.2"
123+
depends_on:
124+
- variant: "build-debian11"
125+
name: "build-php-8.2-next-minor"
126+
tasks:
127+
- ".replicaset .local .7.0 !.csfle"
128+
102129
# Test Atlas and CSFLE on RHEL 8
103130
- name: test-rhel80-php82-atlas
104131
tags: ["test", "debian", "x64"]

0 commit comments

Comments
 (0)