Move testing into a bash file on the side (#266)
This commit is contained in:
@@ -10,14 +10,7 @@ RUN cd /root/ \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y python python3 cmake build-essential openjdk-9-jre-headless \
|
||||
&& /root/emsdk/emsdk update-tags \
|
||||
&& echo "test the standard workflow (as close as possible to how a user would do it, in the shell)" \
|
||||
&& /root/emsdk/emsdk install latest \
|
||||
&& /root/emsdk/emsdk activate latest \
|
||||
&& source /root/emsdk/emsdk_env.sh --build=Release \
|
||||
&& emcc hello_world.cpp \
|
||||
&& emcc hello_world.cpp -s WASM=0 \
|
||||
&& emcc --clear-cache \
|
||||
&& echo "run addition tests in python" \
|
||||
&& cd /root/emsdk/ \
|
||||
&& bash test.sh \
|
||||
&& python test.py
|
||||
|
||||
|
||||
8
test.sh
Normal file
8
test.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
echo "test the standard workflow (as close as possible to how a user would do it, in the shell)"
|
||||
./emsdk install latest
|
||||
./emsdk activate latest
|
||||
source ./emsdk_env.sh --build=Release
|
||||
emcc hello_world.cpp
|
||||
emcc hello_world.cpp -s WASM=0
|
||||
emcc --clear-cache
|
||||
|
||||
Reference in New Issue
Block a user