Skip to content

Commit 48e6a3d

Browse files
committed
trying a direct download approach
1 parent ea77db2 commit 48e6a3d

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/build-release-binaries.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
include:
19-
# - os: ubuntu-latest
20-
# arch: x64-linux
21-
# spc_suffix: linux-x86_64.tar.gz
19+
- os: ubuntu-latest
20+
arch: x64-linux
21+
spc_suffix: linux-x86_64.tar.gz
2222
- os: macos-latest
2323
arch: x64-darwin
2424
spc_suffix: macos-x86_64.tar.gz
@@ -60,15 +60,13 @@ jobs:
6060
6161
- name: Download PHP
6262
run: |
63-
./spc download --with-php=8.2 --prefer-pre-built --for-extensions="bcmath,calendar,ctype,curl,dba,dom,exif,fileinfo,filter,iconv,mbregex,mbstring,openssl,pcntl,pdo_mysql,pdo_sqlite,pdo,phar,posix,readline,session,simplexml,sockets,sodium,sqlite3,tokenizer,xml,xmlreader,xmlwriter,zip,zlib"
64-
65-
# - name: SPC Doctor
66-
# run: |
67-
# ./spc doctor --auto-fix
63+
curl -O -L "https://dl.static-php.dev/static-php-cli/common/php-8.3.9-micro-${{ matrix.spc_suffix }}.tar.gz"
64+
tar xzf "php-8.3.9-micro-${{ matrix.spc_suffix }}.tar.gz"
65+
mkdir -p buildroot/bin
66+
mv micro.sfx buildroot/bin
6867
6968
- name: SPC Build and Combine
7069
run: |
71-
./spc build --build-micro "bcmath,calendar,ctype,curl,dba,dom,exif,fileinfo,filter,iconv,mbregex,mbstring,openssl,pcntl,pdo_mysql,pdo_sqlite,pdo,phar,posix,readline,session,simplexml,sockets,sodium,sqlite3,tokenizer,xml,xmlreader,xmlwriter,zip,zlib"
7270
./spc micro:combine builds/php-parser -O bin/php-parser-${{ env.VERSION }}-${{ matrix.arch }}
7371
ls -l bin/
7472

0 commit comments

Comments
 (0)