Skip to content

Wasm unit tests on CI #1275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from
Draft

Conversation

PgBiel
Copy link
Contributor

@PgBiel PgBiel commented Aug 15, 2025

Runs wasm unit tests on CI. Browsers / exports not tested here yet.

Full details here https://typst.app/project/r314DoDea5XiYYr5bq5IFP
(I will summarize them here later)

P.S. I'll be organizing commits later, sorry for the mess :)

TODO:

  • Add command to check.sh
  • Test nothreads
  • Ignore parallel tests in nothreads
  • Ignore plugin test
  • Fix godot4-prebuilt templates assuming 64-bit architecture (instead of wasm 32-bit) leading to failing struct size assertions
  • Fix test_global_would_block test in global.rs when testing Wasm nothreads
  • Add to minimal-ci
  • Add to full-ci

@GodotRust
Copy link

API docs are being generated and will be shortly available at: https://godot-rust.github.io/docs/gdext/pr-1275

@PgBiel PgBiel force-pushed the wasm-unit-tests branch 2 times, most recently from 40050b0 to 8f3e5bd Compare August 15, 2025 01:47
PgBiel added 2 commits August 14, 2025 23:07
this might call for another composite...
second attempt at pinning emscripten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants