pyo3/.github
Hood Chatham da5b9814cc
Set up CI for wasm32-emscripten target (#2436)
* ci: test on emscripten target

This adds CI to build libpython3.11 for wasm32-emscripten and
running tests against it. We need to patch instant to work
around the emscripten_get_now:
https://github.com/sebcrozet/instant/pull/47

We also have to patch emscripten to work aroung the "undefined
symbol gxx_personality_v0" error:
https://github.com/emscripten-core/emscripten/issues/17128

I set up a nox file to download and install emscripten,
download and build cpython, set appropriate environment variables
then run cargo test. The workflow just installs python, rust,
node, and nox and runs the nox session.

I xfailed all the test failures. There are problems with datetime.
iter_dict_nosegv and test_filenotfounderror should probably be
fixable. The tests that involve threads or asyncio probably can't
be fixed.

* Some cleanup

* Remove instant patch

* Add explanations for xfails
2022-06-08 05:59:18 +01:00
..
ISSUE_TEMPLATE Update issue templates 2021-10-21 04:35:29 +02:00
workflows Set up CI for wasm32-emscripten target (#2436) 2022-06-08 05:59:18 +01:00
dependabot.yml Add dependabot config (#1148) 2020-09-06 13:49:36 +09:00
pull_request_template.md Expand on xtask (#2176) 2022-03-18 22:13:23 +00:00