summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2020-11-20 15:28:46 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2020-11-20 15:28:46 (GMT)
commiteb2febde5db4795e43470d20e4d35b856f875466 (patch)
tree9a80b3adbd0ed29a15414dd976e385a8c77da422 /.github
parentea389baf3f559f8c876aa05e5d358f7b2f2e3a1a (diff)
downloadtk-eb2febde5db4795e43470d20e4d35b856f875466.zip
tk-eb2febde5db4795e43470d20e4d35b856f875466.tar.gz
tk-eb2febde5db4795e43470d20e4d35b856f875466.tar.bz2
Added MSYS build+test
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/win-build.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/.github/workflows/win-build.yml b/.github/workflows/win-build.yml
index c05d404..21841a4 100644
--- a/.github/workflows/win-build.yml
+++ b/.github/workflows/win-build.yml
@@ -41,3 +41,47 @@ jobs:
}
env:
CI_BUILD_WITH_MSVC: 1
+ MSYS-gcc:
+ runs-on: windows-latest
+ defaults:
+ run:
+ shell: bash
+ working-directory: win
+ strategy:
+ matrix:
+ symbols:
+ - "no"
+ - "mem"
+ - "all"
+ # Using powershell means we need to explicitly stop on failure
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Install MSYS2, Make and Tcl
+ run: choco install -y msys2 make magicsplat-tcl-tk
+ - name: Prepare
+ run: |
+ touch tkStubInit.c
+ mkdir "${HOME}/install dir"
+ working-directory: generic
+ - name: Configure (symbols=${{ matrix.symbols }})
+ run: |
+ ./configure ${CFGOPT} "--prefix=$HOME/install dir" || {
+ cat config.log
+ echo "::error::Failure during Configure"
+ exit 1
+ }
+ env:
+ CFGOPT: --enable-64bit --enable-symbols=${{ matrix.symbols }}
+ - name: Build
+ run: |
+ make all tktest || {
+ echo "::error::Failure during Build"
+ exit 1
+ }
+ - name: Run Tests
+ run: |
+ make test || {
+ echo "::error::Failure during Test"
+ exit 1
+ }