Disable emscripten in CI (#824)

This commit is contained in:
Justin Starry 2019-12-26 13:55:27 -06:00 committed by GitHub
parent 12e81f1f56
commit 17fdf5ea01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 14 deletions

View File

@ -1,6 +1,4 @@
#!/usr/bin/env bash
echo "$(rustup default)" | grep -q "stable"
is_stable=$?
set -euxo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
# Showcase includes all other examples
@ -8,11 +6,9 @@ cd examples/showcase
# TODO Can't build some demos with release, need fix
if [ "$is_stable" == "0" ]; then
# TODO - Emscripten builds are broken on beta/nightly
cargo web build --target asmjs-unknown-emscripten
cargo web build --target wasm32-unknown-emscripten
fi
# TODO - Emscripten builds are broken
# cargo web build --target asmjs-unknown-emscripten
# cargo web build --target wasm32-unknown-emscripten
# TODO showcase doesn't support wasm-bindgen yet
cargo web build --target wasm32-unknown-unknown

View File

@ -1,13 +1,9 @@
#!/usr/bin/env bash
echo "$(rustup default)" | grep -q "stable"
is_stable=$?
set -euxo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
if [ "$is_stable" == "0" ]; then
# TODO - Emscripten builds are broken on beta/nightly
cargo web test --features web_test --target asmjs-unknown-emscripten
cargo web test --features web_test --target wasm32-unknown-emscripten
fi
# TODO - Emscripten builds are broken
# cargo web test --features web_test --target asmjs-unknown-emscripten
# cargo web test --features web_test --target wasm32-unknown-emscripten
cargo test --features wasm_test --target wasm32-unknown-unknown
cargo test --test macro_test