File tree Expand file tree Collapse file tree 7 files changed +11
-4
lines changed Expand file tree Collapse file tree 7 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,16 @@ jobs:
42
42
uses : actions/checkout@v2
43
43
- name : Package and ship
44
44
run : |
45
+ curl -sSLO http://archive.ubuntu.com/ubuntu/pool/universe/libz/libzstd/zstd_1.4.4+dfsg-3_amd64.deb
46
+ sudo DEBIAN_FRONTEND=noninteractive dpkg -i --force-conflicts zstd_1.4.4+dfsg-3_amd64.deb
47
+ zstd -V
45
48
for v in 5.3 5.4 5.5; do
46
- sudo XZ_OPT=-e9 tar cfJ php-$v.tar.xz php-$v
49
+ sudo XZ_OPT=-0 tar cfJ php-$v.tar.xz php-$v
50
+ sudo tar cf - php-$v | zstd --fast=7 > php-$v.tar.zst
47
51
curl --user "$BINTRAY_USER":"$BINTRAY_KEY" -X DELETE https://api.bintray.com/content/"$BINTRAY_USER"/"$BINTRAY_REPO"/php-$v.tar.xz || true
52
+ curl --user "$BINTRAY_USER":"$BINTRAY_KEY" -X DELETE https://api.bintray.com/content/"$BINTRAY_USER"/"$BINTRAY_REPO"/php-$v.tar.zst || true
48
53
curl --user "$BINTRAY_USER":"$BINTRAY_KEY" -T php-$v.tar.xz https://api.bintray.com/content/shivammathur/php/"$v"-linux/"$v"/php-$v.tar.xz || true
54
+ curl --user "$BINTRAY_USER":"$BINTRAY_KEY" -T php-$v.tar.zst https://api.bintray.com/content/shivammathur/php/"$v"-linux/"$v"/php-$v.tar.zst || true
49
55
curl --user "$BINTRAY_USER":"$BINTRAY_KEY" -X POST https://api.bintray.com/content/"$BINTRAY_USER"/"$BINTRAY_REPO"/"$v"-linux/"$v"/publish || true
50
56
done
51
57
env :
Original file line number Diff line number Diff line change @@ -45,3 +45,4 @@ curl -sSL https://github.com/shivammathur/php5-ubuntu/releases/latest/download/i
45
45
- [ PhpRedis] ( https://github.com/phpredis/phpredis " Redis PHP extension ")
46
46
- [ Xdebug] ( https://github.com/xdebug/xdebug " Xdebug PHP extension ")
47
47
- [ Zend OPCache] ( https://github.com/zendtech/ZendOptimizerPlus " Zend OPCache extension ")
48
+ - [ Zstandard] ( https://github.com/facebook/zstd " Zstandard compression algorithm ")
Original file line number Diff line number Diff line change 1
1
dpkg_install=" sudo DEBIAN_FRONTEND=noninteractive dpkg -i --force-conflicts"
2
2
sudo mkdir -p /var/run /run/php ~ /php
3
3
$dpkg_install ./deps/* .deb
4
- sudo tar xJf ./php-5.3.29.tar.xz -C ~ /php
4
+ sudo tar -I zstd -xf ./php-5.3.29.tar.zst -C ~ /php
5
5
sudo ln -sf ~ /php/5.3.29/etc/php.ini /etc/php.ini
Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ sudo php5enmod redis
18
18
sudo php5enmod xdebug
19
19
echo " deb $dotdeb wheezy all" | sudo tee /etc/apt/sources.list.d/dotdeb-ubuntu-php-" $( lsb_release -s -c) " .list
20
20
curl -sSLO https://www.dotdeb.org/dotdeb.gpg
21
- sudo apt-key add dotdeb.gpg
21
+ sudo DEBIAN_FRONTEND=noninteractive apt-key add dotdeb.gpg
Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ sudo php5enmod redis
18
18
sudo php5enmod xdebug
19
19
echo " deb $dotdeb wheezy-php55 all" | sudo tee /etc/apt/sources.list.d/dotdeb-ubuntu-php-" $( lsb_release -s -c) " .list
20
20
curl -sSLO https://www.dotdeb.org/dotdeb.gpg
21
- sudo apt-key add dotdeb.gpg
21
+ sudo DEBIAN_FRONTEND=noninteractive apt-key add dotdeb.gpg
You can’t perform that action at this time.
0 commit comments