Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1aadb24

Browse files
committed
Import Tcl 8.6.11
1 parent 3bb8e3e commit 1aadb24

File tree

923 files changed

+78997
-62509
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

923 files changed

+78997
-62509
lines changed

.github/workflows/linux-build.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Linux
2+
on: [push]
3+
jobs:
4+
gcc:
5+
runs-on: ubuntu-20.04
6+
strategy:
7+
matrix:
8+
cfgopt:
9+
- ""
10+
- "--disable-shared"
11+
- "--enable-symbols"
12+
- "--enable-symbols=mem"
13+
- "CFLAGS=-DTCL_UTF_MAX=4"
14+
- "CFLAGS=-DTCL_UTF_MAX=6"
15+
defaults:
16+
run:
17+
shell: bash
18+
working-directory: unix
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v2
22+
- name: Prepare
23+
run: |
24+
touch tclStubInit.c tclOOStubInit.c
25+
working-directory: generic
26+
- name: Configure ${{ matrix.cfgopt }}
27+
run: |
28+
mkdir "${HOME}/install dir"
29+
./configure ${CFGOPT} "--prefix=$HOME/install dir" || (cat config.log && exit 1)
30+
env:
31+
CFGOPT: ${{ matrix.cfgopt }}
32+
- name: Build
33+
run: |
34+
make all
35+
- name: Build Test Harness
36+
run: |
37+
make tcltest
38+
- name: Run Tests
39+
run: |
40+
make test
41+
- name: Test-Drive Installation
42+
run: |
43+
make install
44+
- name: Create Distribution Package
45+
run: |
46+
make dist
47+
- name: Convert Documentation to HTML
48+
run: |
49+
make html-tcl

.github/workflows/mac-build.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: macOS
2+
on: [push]
3+
jobs:
4+
xcode:
5+
runs-on: macos-11.0
6+
defaults:
7+
run:
8+
shell: bash
9+
working-directory: macosx
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
- name: Prepare
14+
run: |
15+
touch tclStubInit.c tclOOStubInit.c
16+
working-directory: generic
17+
- name: Build
18+
run: make all
19+
- name: Run Tests
20+
run: make test styles=develop
21+
env:
22+
ERROR_ON_FAILURES: 1
23+
MAC_CI: 1
24+
clang:
25+
runs-on: macos-11.0
26+
strategy:
27+
matrix:
28+
cfgopt:
29+
- ""
30+
- "--disable-shared"
31+
- "--enable-symbols"
32+
- "--enable-symbols=mem"
33+
defaults:
34+
run:
35+
shell: bash
36+
working-directory: unix
37+
steps:
38+
- name: Checkout
39+
uses: actions/checkout@v2
40+
- name: Prepare
41+
run: |
42+
touch tclStubInit.c tclOOStubInit.c
43+
mkdir "$HOME/install dir"
44+
working-directory: generic
45+
- name: Configure ${{ matrix.cfgopt }}
46+
# Note that macOS is always a 64 bit platform
47+
run: ./configure --enable-64bit --enable-dtrace --enable-framework ${CFGOPT} "--prefix=$HOME/install" || (cat config.log && exit 1)
48+
env:
49+
CFGOPT: ${{ matrix.cfgopt }}
50+
- name: Build
51+
run: |
52+
make all tcltest
53+
- name: Run Tests
54+
run: |
55+
make test
56+
env:
57+
ERROR_ON_FAILURES: 1
58+
MAC_CI: 1

.github/workflows/win-build.yml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
name: Windows
2+
on: [push]
3+
jobs:
4+
msvc:
5+
runs-on: windows-latest
6+
defaults:
7+
run:
8+
shell: powershell
9+
working-directory: win
10+
strategy:
11+
matrix:
12+
cfgopt:
13+
- ""
14+
- "OPTS=static,msvcrt"
15+
- "OPTS=symbols"
16+
- "OPTS=memdbg"
17+
# Using powershell means we need to explicitly stop on failure
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v2
21+
- name: Init MSVC
22+
uses: ilammy/msvc-dev-cmd@v1
23+
- name: Build ${{ matrix.cfgopt }}
24+
run: |
25+
&nmake -f makefile.vc ${{ matrix.cfgopt }} all
26+
if ($lastexitcode -ne 0) {
27+
throw "nmake exit code: $lastexitcode"
28+
}
29+
- name: Build Test Harness ${{ matrix.cfgopt }}
30+
run: |
31+
&nmake -f makefile.vc ${{ matrix.cfgopt }} tcltest
32+
if ($lastexitcode -ne 0) {
33+
throw "nmake exit code: $lastexitcode"
34+
}
35+
- name: Run Tests ${{ matrix.cfgopt }}
36+
run: |
37+
&nmake -f makefile.vc ${{ matrix.cfgopt }} test
38+
if ($lastexitcode -ne 0) {
39+
throw "nmake exit code: $lastexitcode"
40+
}
41+
env:
42+
ERROR_ON_FAILURES: 1
43+
gcc:
44+
runs-on: windows-latest
45+
defaults:
46+
run:
47+
shell: bash
48+
working-directory: win
49+
strategy:
50+
matrix:
51+
cfgopt:
52+
- ""
53+
- "--disable-shared"
54+
- "--enable-symbols"
55+
- "--enable-symbols=mem"
56+
# Using powershell means we need to explicitly stop on failure
57+
steps:
58+
- name: Checkout
59+
uses: actions/checkout@v2
60+
- name: Install MSYS2 and Make
61+
run: choco install msys2 make
62+
- name: Prepare
63+
run: |
64+
touch tclStubInit.c tclOOStubInit.c
65+
mkdir "${HOME}/install dir"
66+
working-directory: generic
67+
- name: Configure ${{ matrix.cfgopt }}
68+
run: |
69+
./configure ${CFGOPT} "--prefix=$HOME/install dir" || (cat config.log && exit 1)
70+
env:
71+
CFGOPT: --enable-64bit ${{ matrix.cfgopt }}
72+
- name: Build
73+
run: make all
74+
- name: Build Test Harness
75+
run: make tcltest
76+
- name: Run Tests
77+
run: make test
78+
env:
79+
ERROR_ON_FAILURES: 1

0 commit comments

Comments
 (0)