diff options
| author | dkf <donal.k.fellows@manchester.ac.uk> | 2020-11-14 09:31:49 (GMT) |
|---|---|---|
| committer | dkf <donal.k.fellows@manchester.ac.uk> | 2020-11-14 09:31:49 (GMT) |
| commit | a22953bb77fe0c1b7c1ecaa9397dfc12cf5d0a54 (patch) | |
| tree | c8155d8de449bf198972936cd4e158b983d9ce29 | |
| parent | 20664f1fa1563c7ad9992f369427f1cd841faf6d (diff) | |
| download | tcl-a22953bb77fe0c1b7c1ecaa9397dfc12cf5d0a54.zip tcl-a22953bb77fe0c1b7c1ecaa9397dfc12cf5d0a54.tar.gz tcl-a22953bb77fe0c1b7c1ecaa9397dfc12cf5d0a54.tar.bz2 | |
Back to powershell
| -rw-r--r-- | .github/workflows/win-build.yml | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/.github/workflows/win-build.yml b/.github/workflows/win-build.yml index 9c4b6f5..f7d4ef1 100644 --- a/.github/workflows/win-build.yml +++ b/.github/workflows/win-build.yml @@ -5,8 +5,9 @@ jobs: runs-on: windows-latest defaults: run: - shell: bash + shell: powershell working-directory: win + # Using powershell means we need to explicitly stop on failure steps: - name: Checkout uses: actions/checkout@v2 @@ -14,10 +15,19 @@ jobs: uses: ilammy/msvc-dev-cmd@v1 - name: Build run: | - nmake -f makefile.vc all + &nmake -f makefile.vc all + if ($lastexitcode -ne 0) { + throw "nmake exit code: $lastexitcode" + } - name: Build Test Harness run: | - nmake -f makefile.vc tcltest + &nmake -f makefile.vc tcltest + if ($lastexitcode -ne 0) { + throw "nmake exit code: $lastexitcode" + } - name: Run Tests run: | - nmake -f makefile.vc test + &nmake -f makefile.vc test + if ($lastexitcode -ne 0) { + throw "nmake exit code: $lastexitcode" + } |
