Skip to content

Commit

Permalink
Build and test with PHPC 1.17-stable (#1193)
Browse files Browse the repository at this point in the history
* Build and test with PHPC 1.17-stable

* Remove benchmarks from GitHub Actions

* Test with stable PHPC version on GitHub Actions
  • Loading branch information
alcaeus committed Nov 15, 2023
1 parent 8ee5560 commit 9d9c917
Show file tree
Hide file tree
Showing 10 changed files with 179 additions and 250 deletions.
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

0 comments on commit 9d9c917

Please sign in to comment.