File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,33 @@ jobs:
128128 run : cargo test $TEST_FEATURES
129129
130130
131+ unit-test-web :
132+ name : unit-test-web
133+ runs-on : ubuntu-22.04
134+ steps :
135+ - uses : actions/checkout@v4
136+
137+ - name : " Patch Cargo.toml to use nightly extension API"
138+ run : .github/other/patch-prebuilt.sh nightly
139+
140+ - name : " Install Rust"
141+ uses : ./.github/composite/rust
142+ with :
143+ rust : nightly
144+
145+ - name : " Install emscripten"
146+ run : |
147+ git clone https://github.com/emscripten-core/emsdk.git
148+ pushd emsdk
149+ ./emsdk install 3.1.74
150+ ./emsdk activate 3.1.74
151+ source ./emsdk.sh
152+ popd
153+
154+ - name : " Test (Wasm)"
155+ run : ./check.sh testweb
156+
157+
131158 # For complex matrix workflow, see https://stackoverflow.com/a/65434401
132159 godot-itest :
133160 name : godot-itest (${{ matrix.name }})
You can’t perform that action at this time.
0 commit comments