summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/linux-build.yml2
-rw-r--r--.github/workflows/win-build.yml37
2 files changed, 37 insertions, 2 deletions
diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml
index 04420dd..a2b2a64 100644
--- a/.github/workflows/linux-build.yml
+++ b/.github/workflows/linux-build.yml
@@ -1,7 +1,7 @@
name: Linux Build and Test
on: [push]
jobs:
- build:
+ gcc:
runs-on: ubuntu-latest
defaults:
run:
diff --git a/.github/workflows/win-build.yml b/.github/workflows/win-build.yml
index 809003b..22d40be 100644
--- a/.github/workflows/win-build.yml
+++ b/.github/workflows/win-build.yml
@@ -1,7 +1,7 @@
name: Windows Build and Test
on: [push]
jobs:
- build:
+ MSVC:
runs-on: windows-latest
defaults:
run:
@@ -31,3 +31,38 @@ jobs:
if ($lastexitcode -ne 0) {
throw "nmake exit code: $lastexitcode"
}
+ env:
+ ERROR_ON_FAILURES: 1
+ MSYS-gcc:
+ runs-on: windows-latest
+ defaults:
+ run:
+ shell: bash
+ working-directory: win
+ strategy:
+ matrix:
+ config_options: [ "--disable-debug", "--enable-debug=mem" ]
+ # Using powershell means we need to explicitly stop on failure
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Install MSYS2 and Make
+ run: choco install msys2 make
+ - name: Prepare
+ run: |
+ touch tclStubInit.c tclOOStubInit.c
+ mkdir "${HOME}/install dir"
+ working-directory: generic
+ - name: Configure
+ run: |
+ ./configure ${CFGOPT} "--prefix=$HOME/install dir" || (cat config.log && exit 1)
+ env:
+ CFGOPT: --enable-64bit ${{ matrix.config_options }}
+ - name: Build
+ run: make all
+ - name: Build Test Harness
+ run: make tcltest
+ - name: Run Tests
+ run: make test
+ env:
+ ERROR_ON_FAILURES: 1