diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-01 16:35:59 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-01 16:35:59 (GMT) |
commit | 2f8611013d1b61ea5656aacaf27909eaee6e528f (patch) | |
tree | 05fa41ae396ba2ff647823de46610495ab2023ba | |
parent | fc7a2d97e0d4c2c2bfc5c978843c1126cdc441b1 (diff) | |
download | tcl-2f8611013d1b61ea5656aacaf27909eaee6e528f.zip tcl-2f8611013d1b61ea5656aacaf27909eaee6e528f.tar.gz tcl-2f8611013d1b61ea5656aacaf27909eaee6e528f.tar.bz2 |
Do 4 types of windows builds (just as we did on Travis)
-rw-r--r-- | .github/workflows/win-build.yml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/.github/workflows/win-build.yml b/.github/workflows/win-build.yml index 2aeccaf..f59b2d7 100644 --- a/.github/workflows/win-build.yml +++ b/.github/workflows/win-build.yml @@ -7,6 +7,13 @@ jobs: run: shell: powershell working-directory: win + strategy: + matrix: + cfgopt: + - "OPTS=threads" + - "OPTS=static,msvcrt,threads" + - "OPTS=symbols,threads" + - "OPTS=memdbg,threads" # Using powershell means we need to explicitly stop on failure steps: - name: Checkout @@ -15,19 +22,19 @@ jobs: uses: ilammy/msvc-dev-cmd@v1 - name: Build run: | - &nmake -f makefile.vc all + &nmake -f makefile.vc ${{ matrix.cfgopt }} all if ($lastexitcode -ne 0) { throw "nmake exit code: $lastexitcode" } - name: Build Test Harness run: | - &nmake -f makefile.vc tcltest + &nmake -f makefile.vc ${{ matrix.cfgopt }} tcltest if ($lastexitcode -ne 0) { throw "nmake exit code: $lastexitcode" } - name: Run Tests run: | - &nmake -f makefile.vc test + &nmake -f makefile.vc ${{ matrix.cfgopt }} test if ($lastexitcode -ne 0) { throw "nmake exit code: $lastexitcode" } @@ -61,7 +68,7 @@ jobs: run: | ./configure ${CFGOPT} "--prefix=$HOME/install" || (cat config.log && exit 1) env: - CFGOPT: --enable-64bit ${{ matrix.cfgopt }} + CFGOPT: --enable-64bit --enable-threads ${{ matrix.cfgopt }} - name: Build run: make all - name: Build Test Harness |