diff --git a/.evergreen/config/generate-config.php b/.evergreen/config/generate-config.php index c39a10829..f8d8e6e43 100755 --- a/.evergreen/config/generate-config.php +++ b/.evergreen/config/generate-config.php @@ -3,6 +3,7 @@ // Supported PHP versions. Add new versions to the beginning of the list $supportedPhpVersions = [ + '8.5', '8.4', '8.3', '8.2', diff --git a/.evergreen/config/generated/build/build-extension.yml b/.evergreen/config/generated/build/build-extension.yml index 7714a3d3b..d67ec54d6 100644 --- a/.evergreen/config/generated/build/build-extension.yml +++ b/.evergreen/config/generated/build/build-extension.yml @@ -1,5 +1,43 @@ # This file is generated automatically - please edit the "templates/build/build-extension.yml" template file instead. tasks: + - name: "build-php-8.5" + tags: ["build", "php8.5", "stable", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.5" + - func: "compile extension" + - func: "upload extension" + - name: "build-php-8.5-lowest" + tags: ["build", "php8.5", "lowest", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.5" + - func: "compile extension" + vars: + EXTENSION_VERSION: "2.2.0" + - func: "upload extension" + - name: "build-php-8.5-next-stable" + tags: ["build", "php8.5", "next-stable", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.5" + - func: "compile extension" + vars: + EXTENSION_BRANCH: "v2.2" + - func: "upload extension" + - name: "build-php-8.5-next-minor" + tags: ["build", "php8.5", "next-minor"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.5" + - func: "compile extension" + vars: + EXTENSION_BRANCH: "v2.x" + - func: "upload extension" - name: "build-php-8.4" tags: ["build", "php8.4", "stable", "pr", "tag"] commands: diff --git a/.evergreen/config/generated/test-variant/modern-php-full.yml b/.evergreen/config/generated/test-variant/modern-php-full.yml index 1186c35a5..237eca837 100644 --- a/.evergreen/config/generated/test-variant/modern-php-full.yml +++ b/.evergreen/config/generated/test-variant/modern-php-full.yml @@ -1,6 +1,64 @@ # This file is generated automatically - please edit the "templates/test-variant/modern-php-full.yml" template file instead. buildvariants: # Test MongoDB >= 7.0 + - name: test-debian12-php-8.5-local + tags: ["test", "debian", "x64", "php8.5", "pr", "tag"] + display_name: "Test: Debian 12, PHP 8.5" + run_on: debian12-small + expansions: + FETCH_BUILD_VARIANT: "build-debian12" + FETCH_BUILD_TASK: "build-php-8.5" + PHP_VERSION: "8.5" + VARIANT: debian12 + depends_on: + - variant: "build-debian12" + name: "build-php-8.5" + tasks: + - ".standalone .local !.csfle !.4.2 !.4.4 !.5.0 !.6.0" + - ".replicaset .local !.csfle !.4.2 !.4.4 !.5.0 !.6.0" + - ".sharded .local !.csfle !.4.2 !.4.4 !.5.0 !.6.0" + - ".loadbalanced .local !.csfle !.4.2 !.4.4 !.5.0 !.6.0" + + # Test MongoDB 5.0 and 6.0 + - name: test-debian11-php-8.5-local + tags: ["test", "debian", "x64", "php8.5", "pr", "tag"] + display_name: "Test: Debian 11, PHP 8.5" + run_on: debian11-small + expansions: + FETCH_BUILD_VARIANT: "build-debian11" + FETCH_BUILD_TASK: "build-php-8.5" + PHP_VERSION: "8.5" + depends_on: + - variant: "build-debian11" + name: "build-php-8.5" + tasks: + # Remember to add new major versions here as they are released + - ".standalone .local !.csfle !.4.2 !.4.4 !.7.0 !.8.0 !.rapid !.latest" + - ".replicaset .local !.csfle !.4.2 !.4.4 !.7.0 !.8.0 !.rapid !.latest" + - ".sharded .local !.csfle !.4.2 !.4.4 !.7.0 !.8.0 !.rapid !.latest" + - ".loadbalanced .local !.csfle !.4.2 !.4.4 !.7.0 !.8.0 !.rapid !.latest" + + # Test versions < 5.0 + - name: test-rhel80-php-8.5 + tags: ["test", "debian", "x64", "php8.5", "pr", "tag"] + display_name: "Test: RHEL 8.0, PHP 8.5" + run_on: rhel80-small + expansions: + FETCH_BUILD_VARIANT: "build-rhel80" + FETCH_BUILD_TASK: "build-php-8.5" + PHP_VERSION: "8.5" + depends_on: + - variant: "build-rhel80" + name: "build-php-8.5" + tasks: + # Remember to add new major versions here as they are released + - ".standalone .local !.csfle !.6.0 !.7.0 !.8.0 !.rapid !.latest" + - ".replicaset .local !.csfle !.6.0 !.7.0 !.8.0 !.rapid !.latest" + - ".sharded .local !.csfle !.6.0 !.7.0 !.8.0 !.rapid !.latest" + - ".loadbalanced .local !.csfle !.6.0 !.7.0 !.8.0 !.rapid !.latest" + - "test_atlas_task_group" + - ".csfle" + # Test MongoDB >= 7.0 - name: test-debian12-php-8.4-local tags: ["test", "debian", "x64", "php8.4", "pr", "tag"] display_name: "Test: Debian 12, PHP 8.4" diff --git a/.evergreen/config/generated/test-variant/phpc.yml b/.evergreen/config/generated/test-variant/phpc.yml index faa3465f9..e47d40d18 100644 --- a/.evergreen/config/generated/test-variant/phpc.yml +++ b/.evergreen/config/generated/test-variant/phpc.yml @@ -1,34 +1,34 @@ # This file is generated automatically - please edit the "templates/test-variant/phpc.yml" template file instead. buildvariants: # Variants with different PHPC versions - - name: test-debian12-php-8.4-phpc-next-stable - tags: ["test", "debian", "x64", "php8.4", "pr", "tag"] - display_name: "Test: Debian 12, PHP 8.4, PHPC next-stable" + - name: test-debian12-php-8.5-phpc-next-stable + tags: ["test", "debian", "x64", "php8.5", "pr", "tag"] + display_name: "Test: Debian 12, PHP 8.5, PHPC next-stable" run_on: debian12-small expansions: FETCH_BUILD_VARIANT: "build-debian12" - FETCH_BUILD_TASK: "build-php-8.4-next-stable" - PHP_VERSION: "8.4" + FETCH_BUILD_TASK: "build-php-8.5-next-stable" + PHP_VERSION: "8.5" depends_on: - variant: "build-debian12" - name: "build-php-8.4-next-stable" + name: "build-php-8.5-next-stable" tasks: - ".standalone .local !.csfle !.4.2 !.4.4 !.5.0 !.6.0" - ".replicaset .local !.csfle !.4.2 !.4.4 !.5.0 !.6.0" - ".sharded .local !.csfle !.4.2 !.4.4 !.5.0 !.6.0" - ".loadbalanced .local !.csfle !.4.2 !.4.4 !.5.0 !.6.0" - - name: test-debian12-php-8.4-phpc-next-minor - tags: ["test", "debian", "x64", "php8.4"] - display_name: "Test: Debian 12, PHP 8.4, PHPC next-minor" + - name: test-debian12-php-8.5-phpc-next-minor + tags: ["test", "debian", "x64", "php8.5"] + display_name: "Test: Debian 12, PHP 8.5, PHPC next-minor" run_on: debian12-small expansions: FETCH_BUILD_VARIANT: "build-debian12" - FETCH_BUILD_TASK: "build-php-8.4-next-minor" - PHP_VERSION: "8.4" + FETCH_BUILD_TASK: "build-php-8.5-next-minor" + PHP_VERSION: "8.5" depends_on: - variant: "build-debian12" - name: "build-php-8.4-next-minor" + name: "build-php-8.5-next-minor" tasks: - ".standalone .local !.csfle !.4.2 !.4.4 !.5.0 !.6.0" - ".replicaset .local !.csfle !.4.2 !.4.4 !.5.0 !.6.0"