Skip to content

Build and test with PHPC 1.17-stable #1193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 28 additions & 32 deletions .evergreen/config/generated/build/build-php-7.4.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 28 additions & 32 deletions .evergreen/config/generated/build/build-php-8.0.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 28 additions & 32 deletions .evergreen/config/generated/build/build-php-8.1.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 28 additions & 32 deletions .evergreen/config/generated/build/build-php-8.2.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 28 additions & 32 deletions .evergreen/config/templates/build/build-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,34 @@ tasks:
vars:
PHP_VERSION: "%phpVersion%"
- func: "compile extension"
# TODO: Remove this variable once PHPC 1.17.0 is released
- func: "upload extension"
- name: "build-php-%phpVersion%-lowest"
tags: ["build", "php%phpVersion%", "lowest"]
commands:
- func: "locate PHP binaries"
vars:
PHP_VERSION: "%phpVersion%"
- func: "compile extension"
vars:
EXTENSION_VERSION: "1.17.0"
- func: "upload extension"
- name: "build-php-%phpVersion%-next-stable"
tags: ["build", "php%phpVersion%", "next-stable"]
commands:
- func: "locate PHP binaries"
vars:
PHP_VERSION: "%phpVersion%"
- func: "compile extension"
vars:
EXTENSION_BRANCH: "v1.17"
- func: "upload extension"
- name: "build-php-%phpVersion%-next-minor"
tags: ["build", "php%phpVersion%", "next-minor"]
commands:
- func: "locate PHP binaries"
vars:
PHP_VERSION: "%phpVersion%"
- func: "compile extension"
vars:
EXTENSION_BRANCH: "master"
- func: "upload extension"
# TODO: Re-enable these tasks once PHPC 1.17.0 is released
# - name: "build-php-%phpVersion%-lowest"
# tags: ["build", "php%phpVersion%", "lowest"]
# commands:
# - func: "locate PHP binaries"
# vars:
# PHP_VERSION: "%phpVersion%"
# - func: "compile extension"
# vars:
# EXTENSION_VERSION: "1.17.0"
# - func: "upload extension"
# - name: "build-php-%phpVersion%-next-stable"
# tags: ["build", "php%phpVersion%", "next-stable"]
# commands:
# - func: "locate PHP binaries"
# vars:
# PHP_VERSION: "%phpVersion%"
# - func: "compile extension"
# vars:
# EXTENSION_BRANCH: "v1.17"
# - func: "upload extension"
# - name: "build-php-%phpVersion%-next-minor"
# tags: ["build", "php%phpVersion%", "next-minor"]
# commands:
# - func: "locate PHP binaries"
# vars:
# PHP_VERSION: "%phpVersion%"
# - func: "compile extension"
# vars:
# EXTENSION_BRANCH: "master"
# - func: "upload extension"
35 changes: 31 additions & 4 deletions .evergreen/config/test-variants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,44 @@ buildvariants:
run_on: debian92-small
expansions:
FETCH_BUILD_VARIANT: "build-debian92"
# TODO: Change to build-php-7.4-lowest once PHPC 1.17.0 is released
FETCH_BUILD_TASK: "build-php-7.4"
FETCH_BUILD_TASK: "build-php-7.4-lowest"
PHP_VERSION: "7.4"
DEPENDENCIES: "lowest"
depends_on:
- variant: "build-debian92"
# TODO: Change to build-php-7.4-lowest once PHPC 1.17.0 is released
name: "build-php-7.4"
name: "build-php-7.4-lowest"
tasks:
- ".replicaset .local .3.6 !.csfle"

# Test with upcoming PHPC versions
- name: test-debian11-php82-phpc-next-stable
tags: ["test", "debian", "x64"]
display_name: "Test: Debian 11, PHP 8.2, PHPC next-stable"
run_on: debian11-small
expansions:
FETCH_BUILD_VARIANT: "build-debian11"
FETCH_BUILD_TASK: "build-php-8.2-next-stable"
PHP_VERSION: "8.2"
depends_on:
- variant: "build-debian11"
name: "build-php-8.2-next-stable"
tasks:
- ".replicaset .local .7.0 !.csfle"

- name: test-debian11-php82-phpc-next-minor
tags: ["test", "debian", "x64"]
display_name: "Test: Debian 11, PHP 8.2, PHPC next-minor"
run_on: debian11-small
expansions:
FETCH_BUILD_VARIANT: "build-debian11"
FETCH_BUILD_TASK: "build-php-8.2-next-minor"
PHP_VERSION: "8.2"
depends_on:
- variant: "build-debian11"
name: "build-php-8.2-next-minor"
tasks:
- ".replicaset .local .7.0 !.csfle"

# Test Atlas and CSFLE on RHEL 8
- name: test-rhel80-php82-atlas
tags: ["test", "debian", "x64"]
Expand Down
Loading