summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-12 18:56:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-12 18:56:14 (GMT)
commitf43f72e2784d0139fb1610485983dac14bbf99e5 (patch)
tree0e9865846c71b8fe09c23b392ebe90b4719108b6 /.github
parent8acdad3fd67a17ad88c9ba7142574202c7b1aeff (diff)
downloadtk-f43f72e2784d0139fb1610485983dac14bbf99e5.zip
tk-f43f72e2784d0139fb1610485983dac14bbf99e5.tar.gz
tk-f43f72e2784d0139fb1610485983dac14bbf99e5.tar.bz2
Prepare "trunk" for Tk 9.0 development
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/linux-build.yml5
-rw-r--r--.github/workflows/linux-with-tcl86-build.yml177
-rw-r--r--.github/workflows/linux-with-tcl87-build.yml (renamed from .github/workflows/linux-with-tcl9-build.yml)7
-rw-r--r--.github/workflows/linux-with-tcl91-build.yml1
-rw-r--r--.github/workflows/mac-build.yml9
-rw-r--r--.github/workflows/onefiledist.yml15
-rw-r--r--.github/workflows/win-build.yml9
7 files changed, 26 insertions, 197 deletions
diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml
index 15273de..7a39e2f 100644
--- a/.github/workflows/linux-build.yml
+++ b/.github/workflows/linux-build.yml
@@ -3,6 +3,7 @@ on:
push:
branches:
- "main"
+ - "core-8-branch"
- "core-8-6-branch"
tags:
- "core-**"
@@ -38,7 +39,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: tcltk/tcl
- ref: core-8-branch
+ ref: main
path: tcl
- name: Setup Environment (compiler=${{ matrix.compiler }})
run: |
@@ -142,7 +143,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: tcltk/tcl
- ref: core-8-branch
+ ref: main
path: tcl
- name: Setup Environment (compiler=${{ matrix.compiler }})
run: |
diff --git a/.github/workflows/linux-with-tcl86-build.yml b/.github/workflows/linux-with-tcl86-build.yml
deleted file mode 100644
index 769da62..0000000
--- a/.github/workflows/linux-with-tcl86-build.yml
+++ /dev/null
@@ -1,177 +0,0 @@
-name: Linux (with Tcl 8.6)
-on:
- push:
- branches:
- - "main"
- - "core-8-6-branch"
- tags:
- - "core-**"
-permissions:
- contents: read
-defaults:
- run:
- shell: bash
- working-directory: tk/unix
-env:
- ERROR_ON_FAILURES: 1
-jobs:
- build:
- runs-on: ubuntu-22.04
- strategy:
- matrix:
- compiler:
- - "gcc"
- - "clang"
- cfgopt:
- - ""
- - "CFLAGS=-DTK_NO_DEPRECATED=1"
- - "--disable-shared"
- - "--disable-xft"
- - "--disable-xss"
- - "--enable-symbols"
- steps:
- - name: Checkout
- uses: actions/checkout@v4
- with:
- path: tk
- - name: Checkout Tcl
- uses: actions/checkout@v4
- with:
- repository: tcltk/tcl
- ref: core-8-6-branch
- path: tcl
- - name: Setup Environment (compiler=${{ matrix.compiler }})
- run: |
- sudo apt-get install libxss-dev libxft-dev
- mkdir "$HOME/install dir"
- touch tk/doc/man.macros tk/generic/tkStubInit.c
- echo "CFGOPT=$CFGOPT" >> $GITHUB_ENV
- echo "CC=$COMPILER" >> $GITHUB_ENV
- echo "TOOL_DIR=$(cd tcl/tools;pwd)" >> $GITHUB_ENV
- echo "BUILD_CONFIG_ID=$OPTS" >> $GITHUB_ENV
- working-directory: "."
- env:
- CFGOPT: ${{ matrix.cfgopt }}
- COMPILER: ${{ matrix.compiler }}
- OPTS: ${{ matrix.compiler }}${{ matrix.cfgopt }}
- - name: Configure and Build Tcl
- run: |
- ./configure $CFGOPT "--prefix=$HOME/install dir" || {
- cat config.log
- echo "::warning::Failure during Tcl Configure"
- exit 1
- }
- make all install || {
- echo "::warning::Failure during Tcl Build"
- exit 1
- }
- echo "TCL_CONFIG_PATH=`pwd`" >> $GITHUB_ENV
- working-directory: tcl/unix
- - name: Configure (opts=${{ matrix.cfgopt }})
- run: |
- ./configure $CFGOPT --with-tcl=$TCL_CONFIG_PATH --disable-zipfs "--prefix=$HOME/install dir" || {
- cat config.log
- echo "::error::Failure during Configure"
- exit 1
- }
- - name: Build
- run: |
- make binaries libraries || {
- echo "::error::Failure during Build"
- exit 1
- }
- - name: Build Test Harness
- run: |
- make tktest || {
- echo "::error::Failure during Build"
- exit 1
- }
- - name: Test-Drive Installation
- run: |
- make install || {
- echo "::error::Failure during Install"
- exit 1
- }
- - name: Create Distribution Package
- run: |
- make dist || {
- echo "::error::Failure during Distribute"
- exit 1
- }
- - name: Convert Documentation to HTML
- run: |
- make html-tk TOOL_DIR=$TOOL_DIR || {
- echo "::error::Failure during Distribute"
- exit 1
- }
- test:
- runs-on: ubuntu-22.04
- strategy:
- matrix:
- compiler:
- - "gcc"
- cfgopt:
- - ""
- - "--disable-xft"
- - "--enable-symbols"
- steps:
- - name: Checkout
- uses: actions/checkout@v4
- with:
- path: tk
- - name: Checkout Tcl
- uses: actions/checkout@v4
- with:
- repository: tcltk/tcl
- ref: core-8-6-branch
- path: tcl
- - name: Setup Environment (compiler=${{ matrix.compiler }})
- run: |
- sudo apt-get install libxss-dev libxft-dev xvfb libicu-dev
- mkdir "$HOME/install dir"
- touch tk/doc/man.macros tk/generic/tkStubInit.c
- echo "CFGOPT=$CFGOPT" >> $GITHUB_ENV
- echo "CC=$COMPILER" >> $GITHUB_ENV
- working-directory: "."
- env:
- CFGOPT: ${{ matrix.cfgopt }}
- COMPILER: ${{ matrix.compiler }}
- - name: Configure and Build Tcl
- run: |
- ./configure $CFGOPT "--prefix=$HOME/install dir" || {
- cat config.log
- echo "::warning::Failure during Tcl Configure"
- exit 1
- }
- make all install || {
- echo "::warning::Failure during Tcl Build"
- exit 1
- }
- echo "TCL_CONFIG_PATH=`pwd`" >> $GITHUB_ENV
- working-directory: tcl/unix
- - name: Configure ${{ matrix.cfgopt }}
- run: |
- ./configure $CFGOPT --with-tcl=$TCL_CONFIG_PATH "--prefix=$HOME/install dir" || {
- cat config.log
- echo "::error::Failure during Configure"
- exit 1
- }
- - name: Build
- run: |
- make binaries libraries tktest || {
- echo "::error::Failure during Build"
- exit 1
- }
- - name: Run Tests
- run: |
- xvfb-run --auto-servernum make test-classic | tee out-classic.txt
- xvfb-run --auto-servernum make test-ttk | tee out-ttk.txt
- grep -q "Failed 0" out-classic.txt || {
- echo "::error::Failure during Test"
- exit 1
- }
- grep -q "Failed 0" out-ttk.txt || {
- echo "::error::Failure during Test"
- exit 1
- }
- timeout-minutes: 15
diff --git a/.github/workflows/linux-with-tcl9-build.yml b/.github/workflows/linux-with-tcl87-build.yml
index 6a4dd4e..557b0e9 100644
--- a/.github/workflows/linux-with-tcl9-build.yml
+++ b/.github/workflows/linux-with-tcl87-build.yml
@@ -1,8 +1,9 @@
-name: Linux (with Tcl 9.0)
+name: Linux (with Tcl 8.7)
on:
push:
branches:
- "main"
+ - "core-8-branch"
- "core-8-6-branch"
tags:
- "core-**"
@@ -38,7 +39,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: tcltk/tcl
- ref: main
+ ref: core-8-branch
path: tcl
- name: Setup Environment (compiler=${{ matrix.compiler }})
run: |
@@ -123,7 +124,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: tcltk/tcl
- ref: main
+ ref: core-8-branch
path: tcl
- name: Setup Environment (compiler=${{ matrix.compiler }})
run: |
diff --git a/.github/workflows/linux-with-tcl91-build.yml b/.github/workflows/linux-with-tcl91-build.yml
index b40e6eb..4672b54 100644
--- a/.github/workflows/linux-with-tcl91-build.yml
+++ b/.github/workflows/linux-with-tcl91-build.yml
@@ -3,6 +3,7 @@ on:
push:
branches:
- "main"
+ - "core-8-branch"
- "core-8-6-branch"
tags:
- "core-**"
diff --git a/.github/workflows/mac-build.yml b/.github/workflows/mac-build.yml
index 43f08d6..0dc2bc7 100644
--- a/.github/workflows/mac-build.yml
+++ b/.github/workflows/mac-build.yml
@@ -3,6 +3,7 @@ on:
push:
branches:
- "main"
+ - "core-8-branch"
- "core-8-6-branch"
tags:
- "core-**"
@@ -22,11 +23,11 @@ jobs:
uses: actions/checkout@v4
with:
path: tk
- - name: Check out Tcl 8.7
+ - name: Check out Tcl 9.0
uses: actions/checkout@v4
with:
repository: tcltk/tcl
- ref: core-8-branch
+ ref: main
path: tcl
- name: Prepare checked out repositories
run: |
@@ -74,11 +75,11 @@ jobs:
uses: actions/checkout@v4
with:
path: tk
- - name: Check out Tcl 8.7
+ - name: Check out Tcl 9.0
uses: actions/checkout@v4
with:
repository: tcltk/tcl
- ref: core-8-branch
+ ref: main
path: tcl
- name: Prepare checked out repositories
env:
diff --git a/.github/workflows/onefiledist.yml b/.github/workflows/onefiledist.yml
index 92bc0ff..37f4895 100644
--- a/.github/workflows/onefiledist.yml
+++ b/.github/workflows/onefiledist.yml
@@ -3,6 +3,7 @@ on:
push:
branches:
- "main"
+ - "core-8-branch"
- "core-8-6-branch"
tags:
- "core-**"
@@ -23,11 +24,11 @@ jobs:
uses: actions/checkout@v4
with:
path: tk
- - name: Checkout Tcl 8.7
+ - name: Checkout Tcl 9.0
uses: actions/checkout@v4
with:
repository: tcltk/tcl
- ref: core-8-branch
+ ref: main
path: tcl
- name: Setup Environment
run: |
@@ -57,7 +58,7 @@ jobs:
# TODO: need the Tk version separately for distro naming below
- name: Package
run: |
- cp bin/wish8.7 ${BUILD_NAME}
+ cp bin/wish9.0 ${BUILD_NAME}
chmod +x ${BUILD_NAME}
tar -cf ${BUILD_NAME}.tar ${BUILD_NAME}
working-directory: ${{ env.INST_DIR }}
@@ -87,11 +88,11 @@ jobs:
uses: actions/checkout@v4
with:
path: tk
- - name: Checkout Tcl 8.7
+ - name: Checkout Tcl 9.0
uses: actions/checkout@v4
with:
repository: tcltk/tcl
- ref: core-8-branch
+ ref: main
path: tcl
- name: Checkout create-dmg
uses: actions/checkout@v4
@@ -175,11 +176,11 @@ jobs:
uses: actions/checkout@v4
with:
path: tk
- - name: Checkout Tcl 8.7
+ - name: Checkout Tcl 9.0
uses: actions/checkout@v4
with:
repository: tcltk/tcl
- ref: core-8-branch
+ ref: main
path: tcl
- name: Setup Environment
run: |
diff --git a/.github/workflows/win-build.yml b/.github/workflows/win-build.yml
index b7b2ae8..851774f 100644
--- a/.github/workflows/win-build.yml
+++ b/.github/workflows/win-build.yml
@@ -3,6 +3,7 @@ on:
push:
branches:
- "main"
+ - "core-8-branch"
- "core-8-6-branch"
tags:
- "core-**"
@@ -28,11 +29,11 @@ jobs:
uses: actions/checkout@v4
with:
path: tk
- - name: Checkout Tcl 8.7
+ - name: Checkout Tcl 9.0
uses: actions/checkout@v4
with:
repository: tcltk/tcl
- ref: core-8-branch
+ ref: main
path: tcl
- name: Init MSVC
uses: ilammy/msvc-dev-cmd@v1
@@ -117,11 +118,11 @@ jobs:
install: git mingw-w64-x86_64-toolchain make zip
- name: Checkout Tk
uses: actions/checkout@v4
- - name: Checkout Tcl 8.7
+ - name: Checkout Tcl 9.0
uses: actions/checkout@v4
with:
repository: tcltk/tcl
- ref: core-8-branch
+ ref: main
path: tcl
- name: Prepare
run: |