blob: 409ba256ed4b21af77ea42a241d892cc4721163d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/usr/bin/env bash
set -o errexit
set -o pipefail
mkdir -p emcc-build
echo "emcc-tests: build:wasm"
emcmake cmake -B emcc-build -DCMAKE_BUILD_TYPE=Release -G Ninja
ninja -C emcc-build binaryen_wasm
echo "emcc-tests: test:wasm"
./check.py --binaryen-bin=emcc-build/bin binaryenjs_wasm
echo "emcc-tests: done:wasm"
echo "emcc-tests: build:js"
ninja -C emcc-build binaryen_js
echo "emcc-tests: test:js"
./check.py --binaryen-bin=emcc-build/bin binaryenjs
echo "emcc-tests: done:js"
|