We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c3f10a commit fd841c7Copy full SHA for fd841c7
1 file changed
.github/workflows/release-wasm.yml
@@ -25,13 +25,14 @@ jobs:
25
sudo apt-get update && sudo apt-get install -y binaryen
26
- name: Build WASM
27
run: |
28
+ make install_deps
29
if [ -f Makefile ] && grep -q build_wasm Makefile; then
- make build_wasm || true
30
+ make build_wasm
31
cp bin/*.wasm . 2>/dev/null || cp build/*.wasm . 2>/dev/null || cp target/wasm32-wasip1/release/*.wasm . 2>/dev/null || true
32
fi
- # Fallback to dummy if no wasm was found
33
if ! ls *.wasm 1> /dev/null 2>&1; then
34
- echo -n -e '\x00asm\x01\x00\x00\x00' > cdd-python-all.wasm
+ echo "Error: No WASM file built."
35
+ exit 1
36
37
for f in *.wasm; do
38
if [ -f "$f" ]; then
0 commit comments