summaryrefslogtreecommitdiff
path: root/travis-emcc-tests.sh
blob: 41a25a2057c56701a6138293af55be2cad0d4c9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

set -e
echo "travis-test build:wasm"
emconfigure cmake -DCMAKE_BUILD_TYPE=Release
emmake make -j4 binaryen_wasm
echo "travis-test test:wasm"
python3 -m scripts.test.binaryenjs
echo "travis-test done:wasm"

echo "travis-test build:js"
emmake make -j4 binaryen_js
echo "travis-test test:js"
python3 -m scripts.test.binaryenjs
echo "travis-test done:js"