Commit 4a2f3d3
authored
Support
* Support `pyodide xbuildenv install-emscripten` on Windows
* test_install_emscripten - update tests
* Add Windows basic integration test CI
* windows-integration-test - test emcc compilation
* windows-integration-test - add integration test trigger condition
* windows-integration-test - bump `test` job node to 24 for consistency
* build_env - document emsdk_env script usage for both platforms
* windows-integration-test - use `pwsh` instead of `powershell`
`powershell` is using powershell 5.1, instead of powershell 7.4 and 5.1
is using utf16 by default, while 7.4 is utf8 and utf8 is more unix
compatible and doesn't conflict with emcc.
* xbuildenv - use`GIT_DIR=.` when applying emscripten patches
In `git apply` there's no `--no-index` option or any other to prevent
`git` from crawling up from `emsdk/upstream/emscripten`to `emsdk` folder
to find `.git` there and then fail to apply patch. Annoyingly, it
doesn't produce errors and even doesn't produce any logs without
`--verbose`.
Providing `GIT_DIR=.` explicitly prevent `.git` from searching git repo
and applies patch cleanly.
* windows-integration-test - use Python 3.13
To test against the most recent pyodide - missed some patches not
being applied, because they weren't present in pyodide 0.27.7
that's used for Python 3.12.
* xbuildenv - sort patches before applying
Since `Path.glob` doesn't guarantee consistent order.pyodide xbuildenv install-emscripten on Windows (#322)1 parent 03e7e63 commit 4a2f3d3
5 files changed
Lines changed: 171 additions & 36 deletions
File tree
- .github/workflows
- pyodide_build
- cli
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
67 | 114 | | |
68 | 115 | | |
69 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
| |||
300 | 306 | | |
301 | 307 | | |
302 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
303 | 312 | | |
304 | | - | |
| 313 | + | |
305 | 314 | | |
306 | 315 | | |
307 | 316 | | |
| |||
317 | 326 | | |
318 | 327 | | |
319 | 328 | | |
320 | | - | |
| 329 | + | |
| 330 | + | |
321 | 331 | | |
322 | 332 | | |
323 | 333 | | |
324 | 334 | | |
325 | | - | |
| 335 | + | |
326 | 336 | | |
327 | 337 | | |
328 | 338 | | |
329 | 339 | | |
330 | | - | |
| 340 | + | |
331 | 341 | | |
332 | | - | |
| 342 | + | |
| 343 | + | |
333 | 344 | | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
343 | 366 | | |
344 | 367 | | |
345 | 368 | | |
346 | 369 | | |
347 | 370 | | |
348 | 371 | | |
| 372 | + | |
| 373 | + | |
349 | 374 | | |
350 | 375 | | |
351 | 376 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
0 commit comments