Skip to content

Commit 7aeebe6

Browse files
committed
Merge branch 'trunk' into add-xdebug-support-to-php-wasm-node-asyncify
2 parents 916c462 + 7047062 commit 7aeebe6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+2996
-2790
lines changed

.github/workflows/ci.yml

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -30,38 +30,22 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
include:
33-
- name: test-unit-asyncify (1/16)
33+
- name: test-unit-asyncify (1/8)
3434
target: test
35-
- name: test-unit-asyncify (2/16)
36-
target: test-php
37-
- name: test-unit-asyncify (3/16)
38-
target: test-php-networking
39-
- name: test-unit-asyncify (4/16)
40-
target: test-php-request-handler-files
41-
- name: test-unit-asyncify (5/16)
42-
target: test-php-request-handler-requests
43-
- name: test-unit-asyncify (6/16)
44-
target: test-php-asyncify-file-get-contents-http
45-
- name: test-unit-asyncify (7/16)
46-
target: test-php-asyncify-file-get-contents-https
47-
- name: test-unit-asyncify (8/16)
48-
target: test-php-asyncify-fopen-http
49-
- name: test-unit-asyncify (9/16)
50-
target: test-php-asyncify-fopen-https
51-
- name: test-unit-asyncify (10/16)
52-
target: test-php-asyncify-fsockopen-http
53-
- name: test-unit-asyncify (11/16)
54-
target: test-php-asyncify-fsockopen-https
55-
- name: test-unit-asyncify (12/16)
56-
target: test-php-asyncify-gethostbyname-http
57-
- name: test-unit-asyncify (13/16)
58-
target: test-php-asyncify-gethostbyname-https
59-
- name: test-unit-asyncify (14/16)
60-
target: test-php-asyncify-mysqli-http
61-
- name: test-unit-asyncify (15/16)
62-
target: test-php-asyncify-mysqli-https
63-
- name: test-unit-asyncify (16/16)
64-
target: test-php-asyncify-sqlite3
35+
- name: test-unit-asyncify (2/8)
36+
target: test-asyncify
37+
- name: test-unit-asyncify (3/8)
38+
target: test-php-file-get-contents-asyncify
39+
- name: test-unit-asyncify (4/8)
40+
target: test-php-fopen-asyncify
41+
- name: test-unit-asyncify (5/8)
42+
target: test-php-fsockopen-asyncify
43+
- name: test-unit-asyncify (6/8)
44+
target: test-php-gethostbyname-asyncify
45+
- name: test-unit-asyncify (7/8)
46+
target: test-php-mysqli-asyncify
47+
- name: test-unit-asyncify (8/8)
48+
target: test-php-sqlite3-asyncify
6549
name: ${{ matrix.name }}
6650
services:
6751
mysql:
@@ -97,9 +81,36 @@ jobs:
9781
fail-fast: false
9882
matrix:
9983
include:
100-
- name: test-unit-jspi (1/1)
101-
target: test-php-dynamic-loading-jspi
84+
- name: test-unit-jspi (1/7)
85+
target: test-jspi
86+
- name: test-unit-jspi (2/7)
87+
target: test-php-file-get-contents-jspi
88+
- name: test-unit-jspi (3/7)
89+
target: test-php-fopen-jspi
90+
- name: test-unit-jspi (4/7)
91+
target: test-php-fsockopen-jspi
92+
- name: test-unit-jspi (5/7)
93+
target: test-php-gethostbyname-jspi
94+
- name: test-unit-jspi (6/7)
95+
target: test-php-mysqli-jspi
96+
- name: test-unit-jspi (7/7)
97+
target: test-php-sqlite3-jspi
10298
name: ${{ matrix.name }}
99+
services:
100+
mysql:
101+
image: mysql:5.7
102+
env:
103+
MYSQL_DATABASE: test_db
104+
MYSQL_USER: user
105+
MYSQL_PASSWORD: password
106+
MYSQL_ROOT_PASSWORD: rootpassword
107+
ports:
108+
- 3306:3306
109+
options: >-
110+
--health-cmd="mysqladmin ping --silent"
111+
--health-interval=10s
112+
--health-timeout=5s
113+
--health-retries=3
103114
steps:
104115
- uses: actions/checkout@v4
105116
with:
@@ -108,21 +119,10 @@ jobs:
108119
with:
109120
node-version: 23
110121
- run: node --expose-gc node_modules/nx/bin/nx affected --target=${{ matrix.target }}
111-
# Most of these tests pass locally but the process is crashing
112-
# on the CI runner.
113-
#
114-
# test-unit-jspi:
115-
# runs-on: ubuntu-latest
116-
# needs: [lint-and-typecheck]
117-
# steps:
118-
# - uses: actions/checkout@v4
119-
# with:
120-
# submodules: true
121-
# - uses: ./.github/actions/prepare-playground
122-
# with:
123-
# # @TODO: Switch to the production version once it's released
124-
# node-version: 23.0.0-nightly2024100909d10b50dc
125-
# - run: node --experimental-wasm-jspi --experimental-wasm-stack-switching --expose-gc node_modules/nx/bin/nx affected --target=test --configuration=ci
122+
env:
123+
MYSQL_DATABASE: test_db
124+
MYSQL_USER: user
125+
MYSQL_PASSWORD: password
126126
test-e2e:
127127
runs-on: ubuntu-latest
128128
needs: [lint-and-typecheck]

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"useWorkspaces": true,
55
"useNx": true
66
}

package-lock.json

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)