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
73
73
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'
74
74
folded ... concurrently GCC_INSTALL_PID locked sudo -E apt-get -yq --no-install-suggests --no-install-recommends install g++-8
75
75
elif [ " $TRAVIS_OS_NAME " = osx ]; then
76
+ [ " $EMSCRIPTEN " != 1 ] || HOMEBREW_NO_INSTALL_CLEANUP=1 folded ... concurrently EMSCRIPTEN_INSTALL_PID locked brew install emscripten
76
77
[ " $CODECOV " != 1 ] || HOMEBREW_NO_INSTALL_CLEANUP=1 folded ... concurrently LCOV_INSTALL_PID locked brew install lcov
77
78
[ " $FORMAT_CHECK " = 0 ] || HOMEBREW_NO_INSTALL_CLEANUP=1 folded ... concurrently FORMAT_INSTALL_PID locked brew install prettier clang-format
78
79
elif [ " $TRAVIS_OS_NAME " = windows ]; then
@@ -128,6 +129,15 @@ run-tests() {
128
129
# shellcheck disable=2009,2046
129
130
kill -9 $( ps | grep -o " ^ *[0-9]\\ + *$$ " | sed -e ' s#^ *##g' -e ' s# .*##g' ) 2> /dev/null || true
130
131
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
131
141
}
132
142
133
143
run-tests
You can’t perform that action at this time.
0 commit comments