@@ -4,14 +4,20 @@ blueprint: ## Generate all blueprints file
4
4
@if ! type orbit > /dev/null 2>&1 ; then echo " Missing orbit dependency, please install from https://github.com/gulien/orbit/" ; exit 1; fi
5
5
orbit run generate
6
6
7
- test-latest : test-8.1 # # Test the latest build only
7
+ test-latest : test-8.2 # # Test the latest build only
8
8
9
9
_test-prerequisites : blueprint
10
10
docker pull ubuntu:20.04
11
11
12
- test-quick : # # Test 8.0 and 8.1 quickly
12
+ test-quick : # # Test 8.0, 8.1 and 8.2 quickly
13
13
VERSION=8.0 VARIANT=cli $(MAKE ) _test-version-quick
14
14
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
15
21
16
22
test-8.1 : # # Test php8.1 build only
17
23
VERSION=8.1 VARIANT=cli $(MAKE ) _test-version
@@ -25,14 +31,14 @@ test-8.0: ## Test php8.0 build only
25
31
26
32
_test-version : _test-prerequisites # # Test php build for VERSION="" and VARIANT=""
27
33
docker buildx bake --load \
28
- --set " *.platform=$ $ (uname -p)" \
34
+ --set " *.platform=$( uname -p) " \
29
35
php$$ {VERSION//.}-$(VARIANT ) -all
30
36
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)
31
37
notify-send -u critical " Tests passed with success ($( VERSION) -$( VARIANT) )"
32
38
33
39
_test-version-quick : _test-prerequisites # # Test php build for VERSION="" and VARIANT="" (without node variants)
34
40
docker buildx bake --load \
35
- --set " *.platform=$ $ (uname -p)" \
41
+ --set " *.platform=$( uname -p) " \
36
42
php$$ {VERSION//.}-slim-$(VARIANT ) php$$ {VERSION//.}-$(VARIANT )
37
43
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)
38
44
notify-send -u critical " Tests passed with success ($( VERSION) -$( VARIANT) ) - without node-*"
0 commit comments