File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ if [ "$TRAVIS_OS_NAME" = linux ]; then
7373 folded ... concurrently LIBSTD_INSTALL_PID locked bash -c ' sudo -E apt-add-repository -y ppa:ubuntu-toolchain-r/test && sudo -E apt-get -yq update && sudo -E apt-get -yq --no-install-suggests --no-install-recommends install libstdc++-8-dev'
7474 folded ... concurrently GCC_INSTALL_PID locked sudo -E apt-get -yq --no-install-suggests --no-install-recommends install g++-8
7575elif [ " $TRAVIS_OS_NAME " = osx ]; then
76+ [ " $EMSCRIPTEN " != 1 ] || HOMEBREW_NO_INSTALL_CLEANUP=1 folded ... concurrently EMSCRIPTEN_INSTALL_PID locked brew install emscripten
7677 [ " $CODECOV " != 1 ] || HOMEBREW_NO_INSTALL_CLEANUP=1 folded ... concurrently LCOV_INSTALL_PID locked brew install lcov
7778 [ " $FORMAT_CHECK " = 0 ] || HOMEBREW_NO_INSTALL_CLEANUP=1 folded ... concurrently FORMAT_INSTALL_PID locked brew install prettier clang-format
7879elif [ " $TRAVIS_OS_NAME " = windows ]; then
@@ -128,6 +129,15 @@ run-tests() {
128129 # shellcheck disable=2009,2046
129130 kill -9 $( ps | grep -o " ^ *[0-9]\\ + *$$ " | sed -e ' s#^ *##g' -e ' s# .*##g' ) 2> /dev/null || true
130131 fi
132+
133+ if [ " $TRAVIS_OS_NAME " = osx ] && [ " $EMSCRIPTEN " = 1 ]; then
134+ folded-finish EMSCRIPTEN_INSTALL_PID
135+ local EMSCRIPTEN_TOOLCHAIN_FILE
136+ EMSCRIPTEN_TOOLCHAIN_FILE=" $( find /usr/local -name Emscripten.cmake) "
137+ for CONFIG in Debug Release; do
138+ CMAKE_BUILD_TYPE=$CONFIG CMAKE_TOOLCHAIN_FILE=" $EMSCRIPTEN_TOOLCHAIN_FILE " folded " Emscripten $CONFIG " cppsm test
139+ done
140+ fi
131141}
132142
133143run-tests
You can’t perform that action at this time.
0 commit comments