Commit fef47a5
authored
Build and test Python with WASIp3 in CI (#784)
This is intended to mirror what's done for WASIp{1,2} where Python is
built against an in-tree copy of wasi-libc and then all of Python's
applicable tests are run. This should help weed out any issues related
to portability and provides a relatively strong assurance check that
most everything works out.
The changes here are:
* WASIp3 is added to the Python testing matrix
* The wasi-sdk version used when testing Python is updated (keeping
up-to-date).
* The management of `wasmtime` is moved to CMake so CI doesn't install a
different version than CMake testing.
* Configuration of the runner (wasmtime version) that Python uses is
moved to CMake instead of inheriting Python's defaults. This reduces the
size of the custom patch that's carried here to test Python with.
* The custom patch is updated to adjust a test that fails on WASIp2 with
an updated version of Wasmtime. The change itself is unrelated to
wasi-libc and has to do with Wasmtime's defaults, so for now it's just
about getting CI passing.1 parent ed9e99a commit fef47a5
4 files changed
Lines changed: 62 additions & 50 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
| 298 | + | |
297 | 299 | | |
298 | 300 | | |
299 | 301 | | |
300 | 302 | | |
301 | 303 | | |
302 | | - | |
303 | | - | |
| 304 | + | |
| 305 | + | |
304 | 306 | | |
305 | 307 | | |
306 | 308 | | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | 309 | | |
312 | 310 | | |
313 | 311 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 43 | + | |
| 44 | + | |
48 | 45 | | |
49 | 46 | | |
50 | 47 | | |
| |||
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 57 | + | |
| 58 | + | |
66 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
67 | 77 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
512 | | - | |
| 512 | + | |
| 513 | + | |
513 | 514 | | |
514 | 515 | | |
515 | 516 | | |
| |||
554 | 555 | | |
555 | 556 | | |
556 | 557 | | |
557 | | - | |
558 | | - | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
559 | 576 | | |
560 | 577 | | |
561 | | - | |
| 578 | + | |
562 | 579 | | |
563 | 580 | | |
564 | 581 | | |
565 | | - | |
| 582 | + | |
566 | 583 | | |
567 | 584 | | |
568 | 585 | | |
569 | 586 | | |
570 | 587 | | |
571 | 588 | | |
572 | | - | |
| 589 | + | |
573 | 590 | | |
574 | 591 | | |
575 | | - | |
| 592 | + | |
576 | 593 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
13 | 26 | | |
14 | 27 | | |
15 | 28 | | |
| |||
23 | 36 | | |
24 | 37 | | |
25 | 38 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
0 commit comments