44 tagname :
55 description : ' tagname'
66 required : true
7- default : ' 8.2 '
7+ default : ' 8.0.20 '
88 commithash :
99 description : ' commit hash'
1010 required : true
1414 required : true
1515 default : ' yes'
1616
17- name : Release Binaries pmmp 5
17+ name : Release Binaries pmmp 3
1818
1919jobs :
2020 build-php :
@@ -25,11 +25,32 @@ jobs:
2525 fail-fast : true
2626 matrix :
2727 include :
28- - option : " -g - P 5"
28+ - option : " -P 5"
2929 name : " "
3030 branch : " php/8.2"
3131 upload-php-ini : " no"
3232 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.
3354 steps :
3455 - name : init directories
3556 run : mkdir -p aarch64-linux-musl
4566
4667 - uses : actions/checkout@v2
4768 with :
48- repository : NetherGamesMC /php-build-scripts
69+ repository : pmmp /php-build-scripts
4970 path : php-build-scripts
50- ref : ' php/8.2 '
71+ ref : ${{ matrix.branch }}
5172
5273 - name : Checkout php-build-scripts commit
5374 if : ${{ github.event.inputs.commithash != 'none' }}
6586
6687 - name : making aarch64 php
6788 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 }}
7090
7191 - name : copy php
7292 run : cp ./php-build-scripts/bin/php7/bin/php "php${{ matrix.name }}"
@@ -96,13 +116,51 @@ jobs:
96116 with :
97117 name : php
98118
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+
99153 - name : file compressions
100154 run : |
101155 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
102160
103161 - name : create checksums.sha256
104162 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
106164 cat checksums.sha256
107165
108166 - uses : actions/upload-artifact@v1
@@ -117,25 +175,17 @@ jobs:
117175 name : Release ${{ github.event.inputs.tagname }}
118176 files : |
119177 php
178+ php-gd
179+ php-gd-no-modification
180+ php-next-major-gd
181+ php-experimental-gd
120182 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
121187 php.ini
188+ php-next-major.ini
189+ php-experimental-gd.ini
122190 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