Skip to content

Commit 450fd1c

Browse files
authored
Merge v1.x into v2.x (#1724)
2 parents 693b675 + dec71e5 commit 450fd1c

File tree

6 files changed

+109
-7
lines changed

6 files changed

+109
-7
lines changed

.evergreen/config/build-task-groups.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,28 @@ task_groups:
1111
# Builds all versions of PHP
1212
- name: "build-all-php"
1313
# Keep this number in sync with the number of PHP versions to allow for parallel builds
14-
max_hosts: 3
14+
max_hosts: 4
1515
setup_task: *build_setup
1616
setup_task_can_fail_task: true
1717
setup_task_timeout_secs: 1800
1818
teardown_task: *build_teardown
1919
tasks:
2020
- ".build"
2121

22+
# TODO: Remove task group once PHP 8.4 is available on PPC and Zseries
23+
- name: "build-all-php-except-8.4"
24+
# Keep this number in sync with the number of PHP versions to allow for parallel builds
25+
max_hosts: 4
26+
setup_task: *build_setup
27+
setup_task_can_fail_task: true
28+
setup_task_timeout_secs: 1800
29+
teardown_task: *build_teardown
30+
tasks:
31+
- ".build !.php8.4"
32+
2233
- name: "build-php-libmongoc"
2334
# Keep this in sync with the actual number of libmongoc builds (typically 3) defined in _template-build-libmongoc.yml
24-
max_hosts: 3
35+
max_hosts: 4
2536
setup_task: *build_setup
2637
setup_task_can_fail_task: true
2738
setup_task_timeout_secs: 1800

.evergreen/config/build-variants.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ buildvariants:
2929
tags: ["build", "rhel", "zseries", "tag"]
3030
run_on: rhel8-zseries-small
3131
tasks:
32-
- name: "build-all-php"
32+
# TODO: Re-enable PHP 8.4 once it's available on PPC and Zseries
33+
- name: "build-all-php-except-8.4"
3334
- name: build-rhel8-arm64
3435
display_name: "Build: RHEL 8 ARM64"
3536
tags: ["build", "rhel", "arm64", "tag"]
@@ -41,7 +42,8 @@ buildvariants:
4142
tags: ["build", "rhel", "power8", "tag"]
4243
run_on: rhel8-power-large
4344
tasks:
44-
- name: "build-all-php"
45+
# TODO: Re-enable PHP 8.4 once it's available on PPC and Zseries
46+
- name: "build-all-php-except-8.4"
4547
- name: build-rhel8
4648
display_name: "Build: RHEL 8 x64"
4749
tags: ["build", "rhel", "x64", "pr", "tag"]

.evergreen/config/generate-config.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
// Supported PHP versions. Add new versions to the beginning of the list
55
$phpVersions = [
6+
'8.4',
67
'8.3',
78
'8.2',
89
'8.1',
@@ -21,7 +22,9 @@
2122
'4.0',
2223
];
2324

24-
$latestPhpVersion = max($phpVersions);
25+
// TODO: Change when PHP 8.4 is stable
26+
// $latestPhpVersion = max($phpVersions);
27+
$latestPhpVersion = '8.3';
2528

2629
// Only test the latest PHP version for libmongoc
2730
$libmongocBuildPhpVersions = [ $latestPhpVersion ];
@@ -106,4 +109,3 @@ function generateConfigs(
106109

107110
return '.evergreen/config' . $filename;
108111
}
109-

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

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/generated/test-variant/php-full.yml

Lines changed: 80 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/build-windows-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
"7.4")
121121
COMPILER="vc15"
122122
;;
123-
"8.0" | "8.1" | "8.2")
123+
"8.0" | "8.1" | "8.2" | "8.3")
124124
COMPILER="vs16"
125125
;;
126126
"8.4")

0 commit comments

Comments
 (0)