From b5aa860c158ec8d9f25950abfc026d6b83d54175 Mon Sep 17 00:00:00 2001 From: Jerome Laban Date: Wed, 2 Oct 2019 10:02:56 -0400 Subject: [PATCH] Add gitpod support --- .gitpod.yml | 5 +++++ build-wasm.sh | 0 scripts/wasm-uitest-run.sh | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .gitpod.yml create mode 100644 build-wasm.sh diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000..716bbe8e --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,5 @@ +image: nventive/wasm-build:1.5 + +ports: + - port: 8000 + onOpen: open-preview \ No newline at end of file diff --git a/build-wasm.sh b/build-wasm.sh new file mode 100644 index 00000000..e69de29b diff --git a/scripts/wasm-uitest-run.sh b/scripts/wasm-uitest-run.sh index f1aa9e92..4f507aff 100644 --- a/scripts/wasm-uitest-run.sh +++ b/scripts/wasm-uitest-run.sh @@ -22,6 +22,7 @@ export UNO_UITEST_CHROME_CONTAINER_MODE=true mkdir -p $UNO_UITEST_SCREENSHOT_PATH ## The python server serves the current working directory, and may be changed by the nunit runner -bash -c "cd $BUILD_SOURCESDIRECTORY/source/SkiaSharpSample/SkiaSharpSample.Wasm/bin/Release/netstandard2.0/dist/; python server.py &" +echo "Starting WebServer" +bash -c "cd $BUILD_SOURCESDIRECTORY/source/SkiaSharpSample/SkiaSharpSample.Wasm/bin/Release/netstandard2.0/dist; python server.py &" mono $BUILD_SOURCESDIRECTORY/scripts/NUnit.ConsoleRunner.3.10.0/tools/nunit3-console.exe --trace=Verbose --inprocess --agents=1 --workers=1 $BUILD_SOURCESDIRECTORY/source/SkiaSharpSample/SkiaSharpSample.UITests/bin/Release/net47/SkiaSharpSample.UITests.dll