Skip to content

Commit 5f296a6

Browse files
authored
[ php-wasm ] Add test-unit-jspi in CI workflow (#2285)
## Motivation for the change, related issues Based on [this](#2248 (comment)) comment This enables the JSPI mode tests alongside `test-unit-asyncify` in CI workflow. ## Implementation details Duplication of the `test-unit-asyncify` tests. With two major differences : 1. JSPI Unit Tests need Node 23 to use JSPI mode. 2. JSPI Unit Tests need a dedicated Vite config file to add the JSPI options: ```javascript execArgv: [ '--expose-gc', '--experimental-wasm-stack-switching', '--experimental-wasm-jspi', ], ``` 3. Dispose `php` runtime with `php.exit()` after each test. ## Testing Instructions (or ideally a Blueprint) CI
1 parent b16d08b commit 5f296a6

38 files changed

+2797
-2745
lines changed

.github/workflows/ci.yml

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

packages/php-wasm/node/asyncify/php_7_3.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

0 commit comments

Comments
 (0)