Skip to content

Commit 3c68d3d

Browse files
authored
Merge pull request #350 from todeveni/feature/php82
Add PHP 8.2 support
2 parents bb381c3 + 1e3d9a7 commit 3c68d3d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+479
-37
lines changed

.github/workflows/workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
php_version: ['8.1','8.0','7.4', '7.3','7.2']
18+
php_version: ['8.2','8.1','8.0','7.4','7.3','7.2']
1919
variant: ['apache','cli','fpm']
2020
# builder: [ {arch: "amd64", os: "ubuntu-latest"}, {arch: "arm64", os: "macos-latest"}]
2121
builder: [ {arch: "amd64", os: "ubuntu-latest"}, {arch: "arm64", os: "ubuntu-latest"}]
@@ -64,7 +64,7 @@ jobs:
6464
strategy:
6565
fail-fast: false
6666
matrix:
67-
php_version: ['8.1','8.0','7.4', '7.3','7.2']
67+
php_version: ['8.2','8.1','8.0','7.4','7.3','7.2']
6868
variant: ['apache','cli','fpm']
6969
steps:
7070
- name: Checkout

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
### Minor changes
66

7+
* **2022-12-18**
8+
* Support for PHP 8.2
9+
710
* **2021-09-22**
811
* Preview for PHP 8.1 | PHP 8.1 in release candidate 2 (miss many extensions)
912
* Support for Node v16 | Version LTS

Makefile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,20 @@ blueprint: ## Generate all blueprints file
44
@if ! type orbit >/dev/null 2>&1; then echo "Missing orbit dependency, please install from https://github.com/gulien/orbit/"; exit 1; fi
55
orbit run generate
66

7-
test-latest: test-8.1 ## Test the latest build only
7+
test-latest: test-8.2 ## Test the latest build only
88

99
_test-prerequisites: blueprint
1010
docker pull ubuntu:20.04
1111

12-
test-quick: ## Test 8.0 and 8.1 quickly
12+
test-quick: ## Test 8.0, 8.1 and 8.2 quickly
1313
VERSION=8.0 VARIANT=cli $(MAKE) _test-version-quick
1414
VERSION=8.1 VARIANT=cli $(MAKE) _test-version-quick
15+
VERSION=8.2 VARIANT=cli $(MAKE) _test-version-quick
16+
17+
test-8.2: ## Test php8.2 build only
18+
VERSION=8.2 VARIANT=cli $(MAKE) _test-version
19+
VERSION=8.2 VARIANT=apache $(MAKE) _test-version
20+
VERSION=8.2 VARIANT=fpm $(MAKE) _test-version
1521

1622
test-8.1: ## Test php8.1 build only
1723
VERSION=8.1 VARIANT=cli $(MAKE) _test-version
@@ -25,14 +31,14 @@ test-8.0: ## Test php8.0 build only
2531

2632
_test-version: _test-prerequisites ## Test php build for VERSION="" and VARIANT=""
2733
docker buildx bake --load \
28-
--set "*.platform=$$(uname -p)" \
34+
--set "*.platform=$(uname -p)" \
2935
php$${VERSION//.}-$(VARIANT)-all
3036
PHP_VERSION="$(VERSION)" BRANCH=v4 VARIANT=$(VARIANT) ./tests-suite/bash_unit -f tap ./tests-suite/*.sh || (notify-send -u critical "Tests failed ($(VERSION)-$(VARIANT))" && exit 1)
3137
notify-send -u critical "Tests passed with success ($(VERSION)-$(VARIANT))"
3238

3339
_test-version-quick: _test-prerequisites ## Test php build for VERSION="" and VARIANT="" (without node variants)
3440
docker buildx bake --load \
35-
--set "*.platform=$$(uname -p)" \
41+
--set "*.platform=$(uname -p)" \
3642
php$${VERSION//.}-slim-$(VARIANT) php$${VERSION//.}-$(VARIANT)
3743
PHP_VERSION="$(VERSION)" BRANCH=v4 VARIANT=$(VARIANT) ./tests-suite/bash_unit -f tap ./tests-suite/*.sh || (notify-send -u critical "Tests failed ($(VERSION)-$(VARIANT))" && exit 1)
3844
notify-send -u critical "Tests passed with success ($(VERSION)-$(VARIANT)) - without node-*"

README.md

Lines changed: 62 additions & 26 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)