Skip to content

Commit 81c6088

Browse files
committed
target micro SAPI
1 parent 56a4df4 commit 81c6088

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/build-php.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permissions:
77
on:
88
schedule:
99
# This will run weekly on Sunday at 00:00 UTC.
10-
- cron: '0 0 * * 0'
10+
- cron: "0 0 * * 0"
1111
workflow_dispatch:
1212

1313
env:
@@ -21,7 +21,14 @@ jobs:
2121
strategy:
2222
matrix:
2323
version: ["8.1", "8.2", "8.3", "8.4"]
24-
os: [ "macos-13", "macos-latest", "windows-latest", "ubuntu-latest", "ubuntu-24.04-arm" ]
24+
os:
25+
[
26+
"macos-13",
27+
"macos-latest",
28+
"windows-latest",
29+
"ubuntu-latest",
30+
"ubuntu-24.04-arm",
31+
]
2532

2633
continue-on-error: true
2734

@@ -55,7 +62,7 @@ jobs:
5562
- name: Set SPC URL for windows-latest
5663
shell: bash
5764
if: matrix.os == 'windows-latest'
58-
run: |
65+
run: |
5966
echo "SPC_URL=https://dl.static-php.dev/static-php-cli/spc-bin/nightly/spc-windows-x64.exe" >> $GITHUB_ENV
6067
echo "SPC_BINARY=spc.exe" >> $GITHUB_ENV
6168
@@ -141,7 +148,7 @@ jobs:
141148
- name: Build PHP
142149
run: |
143150
cd ../static-php-cli
144-
./bin/${{ env.SPC_BINARY }} build --build-cli "${{ env.PHP_EXTENSIONS }}"
151+
./bin/${{ env.SPC_BINARY }} build --build-micro "${{ env.PHP_EXTENSIONS }}"
145152
cd ../php-bin
146153
147154
- name: Get built PHP version

0 commit comments

Comments
 (0)