7 runs-on: windows-latest
11 working-directory: win
16 - "OPTS=static,msvcrt"
19 # Using powershell means we need to explicitly stop on failure
22 uses: actions/checkout@v2
24 uses: ilammy/msvc-dev-cmd@v1
25 - name: Build ${{ matrix.cfgopt }}
27 &nmake -f makefile.vc ${{ matrix.cfgopt }} all
28 if ($lastexitcode -ne 0) {
29 throw "nmake exit code: $lastexitcode"
31 - name: Build Test Harness ${{ matrix.cfgopt }}
33 &nmake -f makefile.vc ${{ matrix.cfgopt }} tcltest
34 if ($lastexitcode -ne 0) {
35 throw "nmake exit code: $lastexitcode"
37 - name: Run Tests ${{ matrix.cfgopt }}
39 &nmake -f makefile.vc ${{ matrix.cfgopt }} test
40 if ($lastexitcode -ne 0) {
41 throw "nmake exit code: $lastexitcode"
44 runs-on: windows-latest
48 working-directory: win
55 - "--enable-symbols=mem"
56 # Using powershell means we need to explicitly stop on failure
59 uses: msys2/setup-msys2@v2
62 install: git mingw-w64-x86_64-toolchain make
64 uses: actions/checkout@v2
67 touch tclStubInit.c tclOOStubInit.c
68 mkdir "${HOME}/install dir"
69 working-directory: generic
70 - name: Configure ${{ matrix.cfgopt }}
72 ./configure ${CFGOPT} "--prefix=$HOME/install dir" || (cat config.log && exit 1)
74 CFGOPT: --enable-64bit ${{ matrix.cfgopt }}
77 - name: Build Test Harness