Skip to content

Commit df7bc43

Browse files
authored
Update emscripten.yml
1 parent 712fa86 commit df7bc43

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/emscripten.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,10 @@ jobs:
832832
emrun.bat --browser="firefox.exe" --kill_exit --timeout 60 --browser-args="--headless" DynamicLibraryManagerTests.html
833833
echo "Running CppInterOpTests in Chromium"
834834
emrun.bat --browser="chrome.exe" --kill_exit --timeout 60 --browser-args="--headless" CppInterOpTests.html
835+
if ($LASTEXITCODE -ne 0) {
836+
Write-Error "Command failed with exit code $LASTEXITCODE"
837+
exit $LASTEXITCODE
838+
}
835839
echo "Running DynamicLibraryManagerTests in Chromium"
836840
emrun.bat --browser="chrome.exe" --kill_exit --timeout 60 --browser-args="--headless --no-sandbox" DynamicLibraryManagerTests.html
837841
cd ..\..

0 commit comments

Comments
 (0)