summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-03 14:32:01 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-03 14:32:01 (GMT)
commit56aed324299994aca92b9eaca9d32a0062613e89 (patch)
treed3282db0bc21f52e85188b5be682582f7c4f9045 /.github
parenta1254f9ff3e5391b3e23db3abc00dca7275a9134 (diff)
parent37813f8effdab70e2822a129459cd6679ea93c75 (diff)
downloadtk-56aed324299994aca92b9eaca9d32a0062613e89.zip
tk-56aed324299994aca92b9eaca9d32a0062613e89.tar.gz
tk-56aed324299994aca92b9eaca9d32a0062613e89.tar.bz2
Merge 8.7
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/win-build.yml49
1 files changed, 25 insertions, 24 deletions
diff --git a/.github/workflows/win-build.yml b/.github/workflows/win-build.yml
index 851774f..40b4a6e 100644
--- a/.github/workflows/win-build.yml
+++ b/.github/workflows/win-build.yml
@@ -21,9 +21,9 @@ jobs:
# Using powershell means we need to explicitly stop on failure
strategy:
matrix:
- symbols:
- - "none"
- - "symbols"
+ config:
+ - "OPTS=none"
+ - "OPTS=symbols"
steps:
- name: Checkout Tk
uses: actions/checkout@v4
@@ -45,32 +45,32 @@ jobs:
mkdir install
cd install
echo "INSTALLDIR=`pwd`" >> $GITHUB_ENV
- - name: Build Tcl (OPTS=${{ matrix.symbols }})
+ - name: Build Tcl (${{ matrix.config }})
run: |
- &nmake -f makefile.vc release install OPTS=${{ matrix.symbols }}
+ &nmake -f makefile.vc release install ${{ matrix.config }}
if ($lastexitcode -ne 0) {
throw "nmake exit code: $lastexitcode"
}
working-directory: tcl/win
- - name: Build Tk (OPTS=${{ matrix.symbols }})
+ - name: Build Tk (${{ matrix.config }})
run: |
- &nmake -f makefile.vc all OPTS=${{ matrix.symbols }}
+ &nmake -f makefile.vc all ${{ matrix.config }}
if ($lastexitcode -ne 0) {
throw "nmake exit code: $lastexitcode"
}
- - name: Build Test Harness (OPTS=${{ matrix.symbols }})
+ - name: Build Test Harness (${{ matrix.config }})
run: |
- &nmake -f makefile.vc tktest OPTS=${{ matrix.symbols }}
+ &nmake -f makefile.vc tktest ${{ matrix.config }}
if ($lastexitcode -ne 0) {
throw "nmake exit code: $lastexitcode"
}
- - name: Run Tk Tests (OPTS=${{ matrix.symbols }})
+ - name: Run Tk Tests (${{ matrix.config }})
run: |
- nmake -f makefile.vc test-classic OPTS=${{ matrix.symbols }} | tee out-classic.txt || {
+ nmake -f makefile.vc test-classic ${{ matrix.config }} | tee out-classic.txt || {
echo "::error::Failure during Test"
exit 1
}
- nmake -f makefile.vc test-ttk OPTS=${{ matrix.symbols }} | tee out-ttk.txt || {
+ nmake -f makefile.vc test-ttk ${{ matrix.config }} | tee out-ttk.txt || {
echo "::error::Failure during Test"
exit 1
}
@@ -86,15 +86,15 @@ jobs:
CI_BUILD_WITH_MSVC: 1
shell: bash
timeout-minutes: 15
- - name: Build Help (OPTS=${{ matrix.symbols }})
+ - name: Build Help (${{ matrix.config }})
run: |
- &nmake -f makefile.vc htmlhelp OPTS=${{ matrix.symbols }}
+ &nmake -f makefile.vc htmlhelp ${{ matrix.config }}
if ($lastexitcode -ne 0) {
throw "nmake exit code: $lastexitcode"
}
- - name: Install (OPTS=${{ matrix.symbols }})
+ - name: Install (${{ matrix.config }})
run: |
- &nmake -f makefile.vc install OPTS=${{ matrix.symbols }}
+ &nmake -f makefile.vc install ${{ matrix.config }}
if ($lastexitcode -ne 0) {
throw "nmake exit code: $lastexitcode"
}
@@ -106,10 +106,11 @@ jobs:
working-directory: win
strategy:
matrix:
- symbols:
- - "no"
- - "mem"
- - "all"
+ config:
+ - ""
+ - "--enable-config=mem"
+ - "--enable-config=all"
+ - "--disable-shared"
steps:
- name: Install MSYS2
uses: msys2/setup-msys2@v2
@@ -131,7 +132,7 @@ jobs:
mkdir "${HOME}/install_dir"
echo "INSTALL_DIR=${HOME}/install_dir" >> $GITHUB_ENV
working-directory: generic
- - name: Configure and Build Tcl
+ - name: Configure and Build Tcl (${{ matrix.config }})
run: |
./configure $CFGOPT "--prefix=$INSTALL_DIR" || {
cat config.log
@@ -144,9 +145,9 @@ jobs:
}
echo "TCL_CONFIG_PATH=`pwd`" >> $GITHUB_ENV
env:
- CFGOPT: --enable-64bit --enable-symbols=${{ matrix.symbols }}
+ CFGOPT: --enable-64bit ${{ matrix.config }}
working-directory: tcl/win
- - name: Configure Tk (symbols=${{ matrix.symbols }})
+ - name: Configure Tk (${{ matrix.config }})
run: |
./configure $CFGOPT "--prefix=$HOME/INSTALL_DIR" "--with-tcl=$TCL_CONFIG_PATH" || {
cat config.log
@@ -154,7 +155,7 @@ jobs:
exit 1
}
env:
- CFGOPT: --enable-64bit --enable-symbols=${{ matrix.symbols }}
+ CFGOPT: --enable-64bit ${{ matrix.config }}
- name: Build Tk
run: |
make all tktest || {