4
4
tagname :
5
5
description : ' tagname'
6
6
required : true
7
- default : ' 8.2 '
7
+ default : ' 8.0.20 '
8
8
commithash :
9
9
description : ' commit hash'
10
10
required : true
14
14
required : true
15
15
default : ' yes'
16
16
17
- name : Release Binaries pmmp 5
17
+ name : Release Binaries pmmp 3
18
18
19
19
jobs :
20
20
build-php :
@@ -25,11 +25,32 @@ jobs:
25
25
fail-fast : true
26
26
matrix :
27
27
include :
28
- - option : " -g - P 5"
28
+ - option : " -P 5"
29
29
name : " "
30
30
branch : " php/8.2"
31
31
upload-php-ini : " no"
32
32
musl-cross-make-repo : " JankleDev/musl-cross-make"
33
+ - option : " -g -P 5"
34
+ name : " -gd"
35
+ branch : " php/8.2"
36
+ upload-php-ini : " no"
37
+ musl-cross-make-repo : " JankleDev/musl-cross-make"
38
+ - option : " -g -P 5"
39
+ name : " -gd-no-modification"
40
+ branch : " php/8.2"
41
+ upload-php-ini : " "
42
+ musl-cross-make-repo : " JankleDev/musl-cross-make"
43
+ - option : " -g -P 5"
44
+ name : " -next-major-gd"
45
+ branch : " php/8.2"
46
+ upload-php-ini : " -next-major"
47
+ musl-cross-make-repo : " JankleDev/musl-cross-make"
48
+ - option : " -g -P 5"
49
+ name : " -experimental-gd"
50
+ branch : " php/8.3"
51
+ upload-php-ini : " -experimental-gd"
52
+ musl-cross-make-repo : " JankleDev/musl-cross-make"
53
+ # Please note that if editing the matrix, the release workflow must also be edited.
33
54
steps :
34
55
- name : init directories
35
56
run : mkdir -p aarch64-linux-musl
45
66
46
67
- uses : actions/checkout@v2
47
68
with :
48
- repository : NetherGamesMC /php-build-scripts
69
+ repository : pmmp /php-build-scripts
49
70
path : php-build-scripts
50
- ref : ' php/8.2 '
71
+ ref : ${{ matrix.branch }}
51
72
52
73
- name : Checkout php-build-scripts commit
53
74
if : ${{ github.event.inputs.commithash != 'none' }}
65
86
66
87
- name : making aarch64 php
67
88
working-directory : php-build-scripts
68
- run : ./compile.sh -t android-aarch64 -x -j4 -g -P 5
69
-
89
+ run : ./compile.sh -t android-aarch64 -x -j4 ${{ matrix.option }}
70
90
71
91
- name : copy php
72
92
run : cp ./php-build-scripts/bin/php7/bin/php "php${{ matrix.name }}"
@@ -96,13 +116,51 @@ jobs:
96
116
with :
97
117
name : php
98
118
119
+ - name : Download a Build Artifact(php-gd)
120
+ uses : actions/download-artifact@v2
121
+ with :
122
+ name : php-gd
123
+
124
+ - name : Download a Build Artifact(php-gd-no-modification)
125
+ uses : actions/download-artifact@v2
126
+ with :
127
+ name : php-gd-no-modification
128
+
129
+ - name : Download a Build Artifact(php-next-major-gd)
130
+ uses : actions/download-artifact@v2
131
+ with :
132
+ name : php-next-major-gd
133
+
134
+ - name : Download a Build Artifact(php-experimental-gd)
135
+ uses : actions/download-artifact@v2
136
+ with :
137
+ name : php-experimental-gd
138
+
139
+ - name : Download a Build Artifact(php.ini)
140
+ uses : actions/download-artifact@v2
141
+ with :
142
+ name : php.ini
143
+ - name : Download a Build Artifact(php-next-major.ini)
144
+ uses : actions/download-artifact@v2
145
+ with :
146
+ name : php-next-major.ini
147
+ - name : Download a Build Artifact(php-experimental-gd.ini)
148
+ uses : actions/download-artifact@v2
149
+ with :
150
+ name : php-experimental-gd.ini
151
+
152
+
99
153
- name : file compressions
100
154
run : |
101
155
zip -9 zip-php php
156
+ zip -9 zip-php-gd php-gd
157
+ zip -9 zip-php-gd-no-modification php-gd-no-modification
158
+ zip -9 zip-php-next-major-gd php-next-major-gd
159
+ zip -9 zip-php-experimental-gd php-experimental-gd
102
160
103
161
- name : create checksums.sha256
104
162
run : |
105
- sha256sum "php" "zip-php.zip" "php.ini" > checksums.sha256
163
+ sha256sum "php" "php-gd" "php-gd-no-modification" "php-next-major-gd" "php-experimental-gd" " zip-php.zip" "zip- php-gd.zip" "zip-php-gd-no-modification.zip" "zip-php-next-major-gd.zip" "zip-php-experimental-gd.zip" "php.ini" "php-next-major.ini" "php-experimental-gd .ini" > checksums.sha256
106
164
cat checksums.sha256
107
165
108
166
- uses : actions/upload-artifact@v1
@@ -117,25 +175,17 @@ jobs:
117
175
name : Release ${{ github.event.inputs.tagname }}
118
176
files : |
119
177
php
178
+ php-gd
179
+ php-gd-no-modification
180
+ php-next-major-gd
181
+ php-experimental-gd
120
182
zip-php.zip
183
+ zip-php-gd.zip
184
+ zip-php-gd-no-modification.zip
185
+ zip-php-next-major-gd.zip
186
+ zip-php-experimental-gd.zip
121
187
php.ini
188
+ php-next-major.ini
189
+ php-experimental-gd.ini
122
190
checksums.sha256
123
- body : " The php version for this release is ${{ github.event.inputs.tagname }}.
124
-
125
- The download is available from the Assets dropdown.
126
-
127
- #### Notes
128
-
129
- This binary does not support jit.
130
-
131
- This binary is for ARMv8 (aarch64, 64bit).
132
-
133
- It does not work on arm (32bit).
134
-
135
- All binaries are not compatible with pmmp3 and are for pmmp4.
136
-
137
- the php or php-gd binaries are recommended.
138
-
139
- The php version of php-next-major-gd is 8.1..
140
- The php version of php-experimental-gd is 8.2..
141
- "
191
+ body : " The php version for this release is ${{ github.event.inputs.tagname }}"
0 commit comments