From 420323029666c8eb9366123aa415197f47778efa Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sat, 27 Jan 2018 00:26:15 -0800 Subject: Verify emscripten build compiles on travis (#740) --- scripts/travis-common.sh | 0 scripts/travis-emcc.sh | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+) mode change 100644 => 100755 scripts/travis-common.sh create mode 100755 scripts/travis-emcc.sh (limited to 'scripts') diff --git a/scripts/travis-common.sh b/scripts/travis-common.sh old mode 100644 new mode 100755 diff --git a/scripts/travis-emcc.sh b/scripts/travis-emcc.sh new file mode 100755 index 00000000..7287f870 --- /dev/null +++ b/scripts/travis-emcc.sh @@ -0,0 +1,21 @@ +#!/bin/bash +# +# Copyright 2016 WebAssembly Community Group participants +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +set -e +emconfigure cmake . +emmake make -j 2 + -- cgit v1.2.3