summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-05 20:55:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-05 20:55:31 (GMT)
commit67b780c161dd0f32a2780ea1465999daba7f941e (patch)
treeab088ed3946eb4f4d1e7431c54929cc3bec20c8c
parent521b3bfb0efbff8cb6b5df2fd40630ece70f8e1f (diff)
downloadtcl-67b780c161dd0f32a2780ea1465999daba7f941e.zip
tcl-67b780c161dd0f32a2780ea1465999daba7f941e.tar.gz
tcl-67b780c161dd0f32a2780ea1465999daba7f941e.tar.bz2
Remove .github and .travis-related stuff: No need to build this branch any more
-rw-r--r--.github/workflows/linux-build.yml51
-rw-r--r--.github/workflows/mac-build.yml59
-rw-r--r--.github/workflows/win-build.yml81
-rw-r--r--.travis.yml331
-rw-r--r--unix/Makefile.in3
5 files changed, 0 insertions, 525 deletions
diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml
deleted file mode 100644
index d619507..0000000
--- a/.github/workflows/linux-build.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-name: Linux
-on: [push]
-permissions:
- contents: read
-jobs:
- gcc:
- runs-on: ubuntu-20.04
- strategy:
- matrix:
- cfgopt:
- - ""
- - "--disable-shared"
- - "--enable-symbols"
- - "--enable-symbols=mem"
- - "CFLAGS=-DTCL_UTF_MAX=4"
- defaults:
- run:
- shell: bash
- working-directory: unix
- steps:
- - name: Checkout
- uses: actions/checkout@v3
- - name: Prepare
- run: touch tclStubInit.c
- working-directory: generic
- - name: Configure ${{ matrix.cfgopt }}
- run: |
- mkdir "${HOME}/install"
- ./configure ${CFGOPT} "--prefix=$HOME/install" || (cat config.log && exit 1)
- env:
- CFGOPT: ${{ matrix.cfgopt }}
- - name: Build
- run: |
- make all
- - name: Build Test Harness
- run: |
- make tcltest
- - name: Run Tests
- run: |
- make test
- env:
- ERROR_ON_FAILURES: 1
- - name: Test-Drive Installation
- run: |
- make install
- - name: Create Distribution Package
- run: |
- make dist
- - name: Convert Documentation to HTML
- run: |
- make html-tcl
diff --git a/.github/workflows/mac-build.yml b/.github/workflows/mac-build.yml
deleted file mode 100644
index 5b0c657..0000000
--- a/.github/workflows/mac-build.yml
+++ /dev/null
@@ -1,59 +0,0 @@
-name: macOS
-on: [push]
-permissions:
- contents: read
-jobs:
- xcode:
- runs-on: macos-10.15
- defaults:
- run:
- shell: bash
- working-directory: macosx
- steps:
- - name: Checkout
- uses: actions/checkout@v3
- - name: Prepare
- run: touch tclStubInit.c
- working-directory: generic
- - name: Build
- run: make all
- - name: Run Tests
- run: make test styles=develop
- env:
- ERROR_ON_FAILURES: 1
- MAC_CI: 1
- clang:
- runs-on: macos-10.15
- strategy:
- matrix:
- cfgopt:
- - ""
- - "--disable-shared"
- - "--enable-symbols"
- - "--enable-symbols=mem"
- defaults:
- run:
- shell: bash
- working-directory: unix
- steps:
- - name: Checkout
- uses: actions/checkout@v3
- - name: Prepare
- run: |
- touch tclStubInit.c
- mkdir "$HOME/install"
- working-directory: generic
- - name: Configure ${{ matrix.cfgopt }}
- # Note that macOS is always a 64 bit platform
- run: ./configure --enable-64bit --enable-dtrace --enable-framework ${CFGOPT} "--prefix=$HOME/install" || (cat config.log && exit 1)
- env:
- CFGOPT: ${{ matrix.cfgopt }}
- - name: Build
- run: |
- make all tcltest
- - name: Run Tests
- run: |
- make test
- env:
- ERROR_ON_FAILURES: 1
- MAC_CI: 1
diff --git a/.github/workflows/win-build.yml b/.github/workflows/win-build.yml
deleted file mode 100644
index 9a0ac98..0000000
--- a/.github/workflows/win-build.yml
+++ /dev/null
@@ -1,81 +0,0 @@
-name: Windows
-on: [push]
-permissions:
- contents: read
-jobs:
- msvc:
- runs-on: windows-2019
- defaults:
- 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
- uses: actions/checkout@v3
- - name: Init MSVC
- uses: ilammy/msvc-dev-cmd@v1
- - name: Build ${{ matrix.cfgopt }}
- run: |
- &nmake -f makefile.vc ${{ matrix.cfgopt }} all
- if ($lastexitcode -ne 0) {
- throw "nmake exit code: $lastexitcode"
- }
- - name: Build Test Harness ${{ matrix.cfgopt }}
- run: |
- &nmake -f makefile.vc ${{ matrix.cfgopt }} tcltest
- if ($lastexitcode -ne 0) {
- throw "nmake exit code: $lastexitcode"
- }
- - name: Run Tests ${{ matrix.cfgopt }}
- run: |
- &nmake -f makefile.vc ${{ matrix.cfgopt }} test
- if ($lastexitcode -ne 0) {
- throw "nmake exit code: $lastexitcode"
- }
- env:
- ERROR_ON_FAILURES: 1
- gcc:
- runs-on: windows-2019
- defaults:
- run:
- shell: bash
- working-directory: win
- strategy:
- matrix:
- cfgopt:
- - ""
- - "--disable-shared"
- - "--enable-symbols"
- - "--enable-symbols=mem"
- # Using powershell means we need to explicitly stop on failure
- steps:
- - name: Checkout
- uses: actions/checkout@v3
- - name: Install MSYS2 and Make
- run: choco install msys2 make
- - name: Prepare
- run: |
- touch tclStubInit.c
- mkdir "${HOME}/install"
- working-directory: generic
- - name: Configure ${{ matrix.cfgopt }}
- run: |
- ./configure ${CFGOPT} "--prefix=$HOME/install" || (cat config.log && exit 1)
- env:
- CFGOPT: --enable-64bit --enable-threads ${{ matrix.cfgopt }}
- - name: Build
- run: make all
- - name: Build Test Harness
- run: make tcltest
- - name: Run Tests
- run: make test
- env:
- ERROR_ON_FAILURES: 1
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 6447b34..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,331 +0,0 @@
-language: c
-addons:
- apt:
- sources:
- - ubuntu-toolchain-r-test
- packages:
- - binutils-mingw-w64-i686
- - binutils-mingw-w64-x86-64
- - gcc-mingw-w64
- - gcc-mingw-w64-base
- - gcc-mingw-w64-i686
- - gcc-mingw-w64-x86-64
- - gcc-multilib
-jobs:
- include:
-# Testing on Linux GCC
- - name: "Linux/GCC/Shared"
- os: linux
- dist: focal
- compiler: gcc
- env:
- - BUILD_DIR=unix
- - name: "Linux/GCC/Shared: UTF_MAX=4"
- os: linux
- dist: focal
- compiler: gcc
- env:
- - BUILD_DIR=unix
- - CFGOPT=CFLAGS=-DTCL_UTF_MAX=4
- - name: "Linux/GCC/Shared: UTF_MAX=5"
- os: linux
- dist: focal
- compiler: gcc
- env:
- - BUILD_DIR=unix
- - CFGOPT=CFLAGS=-DTCL_UTF_MAX=5
- - name: "Linux/GCC/Shared: UTF_MAX=6"
- os: linux
- dist: focal
- compiler: gcc
- env:
- - BUILD_DIR=unix
- - CFGOPT=CFLAGS=-DTCL_UTF_MAX=6
- - name: "Linux/GCC/Static"
- os: linux
- dist: focal
- compiler: gcc
- env:
- - CFGOPT="--disable-shared"
- - BUILD_DIR=unix
- - name: "Linux/GCC/Debug"
- os: linux
- dist: focal
- compiler: gcc
- env:
- - BUILD_DIR=unix
- - CFGOPT="--enable-symbols"
- - name: "Linux/GCC/Mem-Debug"
- os: linux
- dist: focal
- compiler: gcc
- env:
- - BUILD_DIR=unix
- - CFGOPT="--enable-symbols=mem"
-# Newer/Older versions of GCC
- - name: "Linux/GCC 10/Shared"
- os: linux
- dist: focal
- compiler: gcc-10
- addons:
- apt:
- packages:
- - g++-10
- env:
- - BUILD_DIR=unix
- - name: "Linux/GCC 5/Shared"
- os: linux
- dist: bionic
- compiler: gcc-5
- addons:
- apt:
- packages:
- - g++-5
- env:
- - BUILD_DIR=unix
-# Testing on Linux Clang
- - name: "Linux/Clang/Shared"
- os: linux
- dist: focal
- compiler: clang
- env:
- - BUILD_DIR=unix
- - name: "Linux/Clang/Static"
- os: linux
- dist: focal
- compiler: clang
- env:
- - CFGOPT="--disable-shared"
- - BUILD_DIR=unix
- - name: "Linux/Clang/Debug"
- os: linux
- dist: focal
- compiler: clang
- env:
- - BUILD_DIR=unix
- - CFGOPT="--enable-symbols"
- - name: "Linux/Clang/Mem-Debug"
- os: linux
- dist: focal
- compiler: clang
- env:
- - BUILD_DIR=unix
- - CFGOPT="--enable-symbols=mem"
-# Testing on Mac, various styles
- - name: "macOS/Xcode 12/Shared"
- os: osx
- osx_image: xcode12.2
- env:
- - BUILD_DIR=macosx
- install: []
- script: &mactest
- - make all
- # The styles=develop avoids some weird problems on OSX
- - make test styles=develop
- - name: "macOS/Xcode 12/Shared/Unix-like"
- os: osx
- osx_image: xcode12.2
- env:
- - BUILD_DIR=unix
-# Newer MacOS versions
- - name: "macOS/Xcode 12/Universal Apps/Shared"
- os: osx
- osx_image: xcode12u
- env:
- - BUILD_DIR=macosx
- install: []
- script: *mactest
-# Older MacOS versions
- - name: "macOS/Xcode 11/Shared"
- os: osx
- osx_image: xcode11.7
- env:
- - BUILD_DIR=macosx
- install: []
- script: *mactest
- - name: "macOS/Xcode 10/Shared"
- os: osx
- osx_image: xcode10.3
- env:
- - BUILD_DIR=macosx
- install: []
- script: *mactest
- - name: "macOS/Xcode 9/Shared"
- os: osx
- osx_image: xcode9.4
- env:
- - BUILD_DIR=macosx
- install: []
- script: *mactest
- - name: "macOS/Xcode 8/Shared"
- os: osx
- osx_image: xcode8.3
- env:
- - BUILD_DIR=macosx
- install: []
- script: *mactest
-# Test with mingw-w64 cross-compile
-# Doesn't run tests because wine is only an imperfect Windows emulation
- - name: "Linux-cross-Windows/GCC/Shared/no test"
- os: linux
- dist: focal
- compiler: x86_64-w64-mingw32-gcc
- env:
- - BUILD_DIR=win
- - CFGOPT="--host=x86_64-w64-mingw32 --enable-64bit --enable-threads"
- script: &crosstest
- - make all tcltest
- # Include a high visibility marker that tests are skipped outright
- - >
- echo "`tput setaf 3`SKIPPED TEST: CROSS COMPILING`tput sgr0`"
-# Test with mingw-w64 (32 bit) cross-compile
-# Doesn't run tests because wine is only an imperfect Windows emulation
- - name: "Linux-cross-Windows-32/GCC/Shared/no test"
- os: linux
- dist: focal
- compiler: i686-w64-mingw32-gcc
- env:
- - BUILD_DIR=win
- - CFGOPT="--host=i686-w64-mingw32 --enable-threads"
- script: *crosstest
-# Test on Windows with MSVC native
- - name: "Windows/MSVC/Shared"
- os: windows
- compiler: cl
- env: &vcenv
- - BUILD_DIR=win
- - VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
- before_install: &vcpreinst
- - PATH="$PATH:$VCDIR"
- - cd ${BUILD_DIR}
- install: []
- script:
- - cmd.exe //C vcvarsall.bat x64 '&&' nmake 'OPTS=threads' '-f' makefile.vc all tcltest
- - cmd.exe //C vcvarsall.bat x64 '&&' nmake 'OPTS=threads' '-f' makefile.vc test
- - name: "Windows/MSVC/Static"
- os: windows
- compiler: cl
- env: *vcenv
- before_install: *vcpreinst
- install: []
- script:
- - cmd.exe //C vcvarsall.bat x64 '&&' nmake 'OPTS=static,msvcrt,threads' '-f' makefile.vc all tcltest
- - cmd.exe //C vcvarsall.bat x64 '&&' nmake 'OPTS=static,msvcrt,threads' '-f' makefile.vc test
- - name: "Windows/MSVC/Debug"
- os: windows
- compiler: cl
- env: *vcenv
- before_install: *vcpreinst
- install: []
- script:
- - cmd.exe //C vcvarsall.bat x64 '&&' nmake 'OPTS=symbols,threads' '-f' makefile.vc all tcltest
- - cmd.exe //C vcvarsall.bat x64 '&&' nmake 'OPTS=symbols,threads' '-f' makefile.vc test
- - name: "Windows/MSVC/Mem-Debug"
- os: windows
- compiler: cl
- env: *vcenv
- before_install: *vcpreinst
- install: []
- script:
- - cmd.exe //C vcvarsall.bat x64 '&&' nmake 'STATS=memdbg OPTS=threads' '-f' makefile.vc all tcltest
- - cmd.exe //C vcvarsall.bat x64 '&&' nmake 'STATS=memdbg OPTS=threads' '-f' makefile.vc test
-# Test on Windows with MSVC native (32-bit)
- - name: "Windows/MSVC-x86/Shared"
- os: windows
- compiler: cl
- env: *vcenv
- before_install: *vcpreinst
- install: []
- script:
- - cmd.exe //C vcvarsall.bat x86 '&&' nmake 'OPTS=threads' '-f' makefile.vc all tcltest
- - cmd.exe //C vcvarsall.bat x86 '&&' nmake 'OPTS=threads' '-f' makefile.vc test
- - name: "Windows/MSVC-x86/Static"
- os: windows
- compiler: cl
- env: *vcenv
- before_install: *vcpreinst
- install: []
- script:
- - cmd.exe //C vcvarsall.bat x86 '&&' nmake 'OPTS=static,msvcrt,threads' '-f' makefile.vc all tcltest
- - cmd.exe //C vcvarsall.bat x86 '&&' nmake 'OPTS=static,msvcrt,threads' '-f' makefile.vc test
- - name: "Windows/MSVC-x86/Debug"
- os: windows
- compiler: cl
- env: *vcenv
- before_install: *vcpreinst
- install: []
- script:
- - cmd.exe //C vcvarsall.bat x86 '&&' nmake 'OPTS=symbols,threads' '-f' makefile.vc all tcltest
- - cmd.exe //C vcvarsall.bat x86 '&&' nmake 'OPTS=symbols,threads' '-f' makefile.vc test
- - name: "Windows/MSVC-x86/Mem-Debug"
- os: windows
- compiler: cl
- env: *vcenv
- before_install: *vcpreinst
- install: []
- script:
- - cmd.exe //C vcvarsall.bat x86 '&&' nmake 'STATS=memdbg OPTS=threads' '-f' makefile.vc all tcltest
- - cmd.exe //C vcvarsall.bat x86 '&&' nmake 'STATS=memdbg OPTS=threads' '-f' makefile.vc test
-# Test on Windows with GCC native
- - name: "Windows/GCC/Shared"
- os: windows
- compiler: gcc
- env:
- - BUILD_DIR=win
- - CFGOPT="--enable-64bit --enable-threads"
- before_install: &makepreinst
- - choco install -y make
- - cd ${BUILD_DIR}
- - name: "Windows/GCC/Static"
- os: windows
- compiler: gcc
- env:
- - BUILD_DIR=win
- - CFGOPT="--enable-64bit --enable-threads --disable-shared"
- before_install: *makepreinst
- - name: "Windows/GCC/Debug"
- os: windows
- compiler: gcc
- env:
- - BUILD_DIR=win
- - CFGOPT="--enable-64bit --enable-threads --enable-symbols"
- before_install: *makepreinst
-# Test on Windows with GCC native (32-bit)
- - name: "Windows/GCC-x86/Shared"
- os: windows
- compiler: gcc
- env:
- - BUILD_DIR=win
- - CFGOPT="--enable-threads"
- before_install: *makepreinst
- - name: "Windows/GCC-x86/Static"
- os: windows
- compiler: gcc
- env:
- - BUILD_DIR=win
- - CFGOPT="--enable-threads --disable-shared"
- before_install: *makepreinst
- - name: "Windows/GCC-x86/Debug"
- os: windows
- compiler: gcc
- env:
- - BUILD_DIR=win
- - CFGOPT="--enable-threads --enable-symbols"
- before_install: *makepreinst
- - name: "Windows/GCC-x86/Mem-Debug"
- os: windows
- compiler: gcc
- env:
- - BUILD_DIR=win
- - CFGOPT="--enable-threads --enable-symbols=mem"
- before_install: *makepreinst
-before_install:
- - touch generic/tclStubInit.c
- - cd ${BUILD_DIR}
-install:
- - ./configure ${CFGOPT} --prefix=$HOME || (cat config.log && exit 1)
-before_script:
- - export ERROR_ON_FAILURES=1
-script:
- - make all tcltest || echo "Something wrong, maybe a hickup, let's try again"
- - make test
diff --git a/unix/Makefile.in b/unix/Makefile.in
index d25dfdd..bc3cdfe 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -1747,9 +1747,6 @@ dist: $(UNIX_DIR)/configure $(UNIX_DIR)/tclConfig.h.in $(UNIX_DIR)/tcl.pc.in $(M
@mkdir $(DISTDIR)/libtommath
cp -p $(TOMMATH_SRCS) $(TOMMATH_DIR)/*.h \
$(DISTDIR)/libtommath
- cp -p $(TOP_DIR)/.travis.yml $(DISTDIR)
- mkdir -p $(DISTDIR)/.github/workflows
- cp -p $(TOP_DIR)/.github/workflows/*.yml $(DISTDIR)/.github/workflows
alldist: dist
rm -f $(DISTROOT)/$(DISTNAME)-src.tar.gz $(DISTROOT)/$(ZIPNAME)