@@ -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
1622test-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-*"
0 commit comments