Skip to content

Commit

Permalink
Merge pull request #389 from todeveni/node22
Browse files Browse the repository at this point in the history
Add Node 22 support
  • Loading branch information
mistraloz authored May 31, 2024
2 parents 96ea274 + 018378e commit 9592740
Show file tree
Hide file tree
Showing 7 changed files with 420 additions and 24 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

### Minor changes

* **2024-05-31**
* Support for Node v22

* **2023-12-13**
* Support for PHP 8.3
* Support for Node v20
Expand Down
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,21 @@ test-8.0: ## Test php8.0 build only
VERSION=8.0 VARIANT=apache $(MAKE) _test-version
VERSION=8.0 VARIANT=fpm $(MAKE) _test-version

test-node: ## Test node builds only
VERSION=8.3 VARIANT=cli NODE=12 $(MAKE) _test-node
VERSION=8.3 VARIANT=cli NODE=14 $(MAKE) _test-node
VERSION=8.3 VARIANT=cli NODE=16 $(MAKE) _test-node
VERSION=8.3 VARIANT=cli NODE=18 $(MAKE) _test-node
VERSION=8.3 VARIANT=cli NODE=20 $(MAKE) _test-node
VERSION=8.3 VARIANT=cli NODE=22 $(MAKE) _test-node

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

_test-version: _test-prerequisites ## Test php build for VERSION="" and VARIANT=""
docker buildx bake --load \
--set "*.platform=$(uname -p)" \
Expand Down
23 changes: 22 additions & 1 deletion README.md

Large diffs are not rendered by default.

Loading

0 comments on commit 9592740

Please sign in to comment.