Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add github workflow for CYGWIN-like platform MSYS2 on Windows #9

Open
wants to merge 8,318 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
8318 commits
Select commit Hold shift + click to select a range
42e1c69
Merge 8.7
Sep 25, 2020
7bea794
Merge trunk
Sep 25, 2020
fb163e8
Build Travis with Xcode 12 and 12u (Universal Apps)
Sep 25, 2020
15f3c27
Tweak xcode labels for Travis build
Sep 26, 2020
7dd8dc9
Merge 8.5
Sep 26, 2020
d42a401
Merge 8.6
Sep 26, 2020
37cd35c
Merge 8.7
Sep 26, 2020
7fd9fb3
Make Tcl compile warning-free using -Wshadow
Sep 28, 2020
0e66e2b
Merge 8.6
Sep 28, 2020
3abf8ac
Merge 8.7
Sep 28, 2020
3b36e1b
Revert change that made test expr-20.2 fail.
Sep 28, 2020
c0ebda1
Restore change with correction.
Sep 28, 2020
d7d77f7
merge 8.7
Sep 28, 2020
d87f22f
Update internal zlib channel type from TCL_CHANNEL_VERSION_3 to TCL_C…
Sep 28, 2020
d4c4f4f
Merge-mark
Sep 28, 2020
04f7492
Add -Wshadow flag to the compiler, so we will be notified when (accid…
Sep 29, 2020
0daac00
Merge 8.7
Sep 29, 2020
b7c5a25
Ticket [0063cbcada]: check http::geturl -headers parameter to be a dict.
oehhar Sep 29, 2020
038f813
Remove wrong copy of test case http-3.2
oehhar Sep 29, 2020
41ee2b2
Ticket [0063cbcada]: check http::geturl -headers parameter to be a dict
oehhar Sep 29, 2020
53ab0e8
Ticket [0063cbcada]: check http::geturl -headers parameter to be a dict
oehhar Sep 29, 2020
b1ba0b3
Ticket [0063cbcada]: check http::geturl -headers parameter to be a dict
oehhar Sep 29, 2020
428d063
Ticket [0063cbcada]: From tcl 8.7 on, use "string is dict" instead "s…
oehhar Sep 30, 2020
a6453b0
Ticket [0063cbcada]: From tcl 8.7 on, use "string is dict" instead "s…
oehhar Sep 30, 2020
bdad094
TIP #581 tweak: Don't report "slaves" as valid option for "interp"
Sep 30, 2020
31adfea
(slightly) better error-message for invalid http -headers option. Thi…
Sep 30, 2020
316cdba
Merge 8.6
Sep 30, 2020
3d47cfb
Merge 8.7
Sep 30, 2020
6f51eac
Merge 8.7
Oct 1, 2020
a2b001c
Fix -Wshadow warnings, when compiling with a C++ compiler
Oct 2, 2020
fe6a867
Merge 8.7
Oct 2, 2020
d20e284
Adapt function signatures in compat/string.h to what's normal nowadays
Oct 6, 2020
5776b10
HAVE_TM_GMTOFF detection doesn't work if CFLAGS contains -Werror. Her…
Oct 6, 2020
7a39d70
Fix (possible) gcc warnings in unix/dltest/*.c
Oct 6, 2020
01c7a48
(cherry-pick): HAVE_TM_GMTOFF detection doesn't work if CFLAGS contai…
Oct 6, 2020
73d433f
merge-mark
Oct 6, 2020
5bbf899
Merge 8.7
Oct 6, 2020
8999779
xcode12 -> xcode12.2. Prevent build warning about generic/tclStubInit.c
Oct 7, 2020
1f8ee4b
Merge 8.5
Oct 8, 2020
34b5784
Fix [014ade1d44]: Misleading error message when using "-path" multipl…
Oct 8, 2020
b5867d3
Merge 8.6
Oct 8, 2020
29b9710
Merge 8.7
Oct 8, 2020
fdf1462
Eliminate warnings when compiling with -Wundef
Oct 8, 2020
ebb7a37
Make everything compile warning-free with -Wundef. Put enum ASSEM_DIC…
Oct 8, 2020
f484ba9
(cherry-pick): Fix [014ade1d44]: Misleading error message when using …
Oct 9, 2020
bc3ad65
Merge 8.5
Oct 9, 2020
6c4d2ff
Merge 8.6. Don't inline functions which are too big to be inlined (ac…
Oct 9, 2020
33f3131
Merge 8.7
Oct 9, 2020
de93c0f
Update TZ info to tzdata2020b.
jima00 Oct 10, 2020
f7df7c7
Update TZ info to tzdata2020b.
jima00 Oct 10, 2020
c2a1dfd
Update TZ info to tzdata2020b.
jima00 Oct 10, 2020
6e7f37f
Fix warning, doing a static build on Windows
Oct 13, 2020
c7f31c9
Merge 8.6 Eliminate some (correct but actually harmless) warnings onl…
Oct 13, 2020
8860159
Merge 8.6
Oct 13, 2020
edecf53
More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj()…
Oct 13, 2020
522be2f
Merge 8.6
Oct 13, 2020
3e2bda8
Merge 8.7
Oct 13, 2020
e81e1bc
Fix MSVC++ 6.0 build
Oct 14, 2020
4fbfda6
Merge 8.7
Oct 14, 2020
b17780a
Something strange going on on Travis with (long-gone) safe-stock86.test
Oct 15, 2020
a497b67
Merge 8.6
Oct 15, 2020
002a78f
Merge 8.7
Oct 15, 2020
418bc46
Fix [53d5155335]: Typo in interp.n
Oct 15, 2020
2c145d8
Merge 8.6
Oct 15, 2020
76a1745
Merge 8.7
Oct 15, 2020
433c7d8
Remove use of CFG_ENCODING from rules.vc/makefile.vc: It will become …
Oct 15, 2020
5c67f46
Fix env.test when running under wine on Linux.
Oct 16, 2020
ef27636
Merge 8.7
Oct 16, 2020
b376325
Merge 8.6
Oct 16, 2020
e9707bc
Merge 8.7
Oct 16, 2020
8cf8151
Still troubles with GIT on Travis
Oct 16, 2020
24eb2d1
Merge 8.6
Oct 16, 2020
e448bff
Merge 8.7
Oct 16, 2020
08584c0
3 times -1 -> TCL_INDEX_NONE
Oct 18, 2020
a378cc5
Merge 8.7
Oct 18, 2020
2d6462e
Fix [cb458261c3]: Strip comme il faut (without really doing 'il faut'…
Oct 19, 2020
cebbbaf
Improve comment in install-sh, regarding Tcl-specific change
Oct 19, 2020
a12abd2
Fix warning on MSVC: warning C4307: '+': integral constant overflow
Oct 19, 2020
1912bca
Merge 8.6.
Oct 19, 2020
f1eb870
Merge 8.7
Oct 19, 2020
c6cad5a
Add a make variable to GNUmakefile for building the Tcl.framework for…
Oct 19, 2020
624187d
One more attempt to fix the MSVC++ warning for Debug builds
Oct 20, 2020
0cb5b3f
Update TZ info to tzdata2020c.
jima00 Oct 20, 2020
1eeb5b4
Update TZ info to tzdata2020c.
jima00 Oct 20, 2020
24b9892
Update TZ info to tzdata2020c (via merge).
jima00 Oct 20, 2020
c6531c2
Fix [c975939973]: Usage of gnu_printf in latest mingw-w64
Oct 21, 2020
bc10481
Merge 8.6
Oct 21, 2020
aef4a86
Merge 8.7
Oct 21, 2020
94fba1c
When building a subframework for macOS use a build directory in the s…
Oct 21, 2020
ab0e2e6
(cherry-pick): Fix [c975939973]: Usage of gnu_printf in latest mingw-…
Oct 22, 2020
a66e60c
Merge 8.5 (rename internal TCL_I_MODIFIER -> TCL_Z_MODIFIER)
Oct 22, 2020
6837f3c
Merge 8.6
Oct 22, 2020
45aba62
TIP #587: Default utf-8 for source command
Oct 22, 2020
2fdc760
TIP #587: Default utf-8 for source command
Oct 22, 2020
a5ca631
TIP #587: One place more where TCL_CFGVAL_ENCODING should fall back t…
Oct 22, 2020
5d7e1f9
Merge 8.7
Oct 22, 2020
f5b78f1
Fix warning: /home/jboss/workspace/tcl8.7/generic/tclIO.c:9997:27: wa…
Oct 23, 2020
b098926
Merge 8.6
Oct 23, 2020
97820f8
Merge 8.7
Oct 23, 2020
bbc90e3
Merge 8.7
Oct 24, 2020
870156c
TIP586: C String Parsing Support for binary scan
oehhar Oct 25, 2020
bd3fdd7
Copied man page and test from Androwish https://www.androwish.org/hom…
oehhar Oct 26, 2020
027f7f9
re-trigger Travis build (and fix some eol-spacing)
Oct 26, 2020
65d23f7
Fix [48898ab5f6a0d957]: Too few is better than not enough? (Inconsist…
Oct 26, 2020
4cb9c91
Merge 8.6
Oct 26, 2020
2178cdc
Merge 8.7
Oct 26, 2020
f522574
Update TZ info to tzdata2020d.
jima00 Oct 26, 2020
dd4d7fd
Update TZ info to tzdata2020d (via merge).
jima00 Oct 26, 2020
bb9d112
Update TZ info to tzdata2020d (via merge).
jima00 Oct 26, 2020
b61dc38
Revert changes in previous commit to clock.n and lassign.n
Oct 26, 2020
26ceb11
Merge 8.6
Oct 26, 2020
bf7e71a
Merge 8.7
Oct 26, 2020
49550a5
[11229bad5f] New test to demonstrate the bug.
Oct 27, 2020
68d0db4
Use TCL_ERROR to signal inability to compile.
Oct 27, 2020
c4fab6c
[11229bad5f] Fix the bytecode compiler for [string insert].
Oct 27, 2020
db7a5b9
merge 8.7
Oct 27, 2020
fed34ad
Corrected doc: modifier C instead A
oehhar Oct 28, 2020
2d62eef
Merge 8.7
Oct 28, 2020
66bf817
Slight tweak to previous commit: Move definition of __USE_MINGW_ANSI_…
Oct 29, 2020
9da8272
Fix implib filenames (adapted from Mingw2's 006-proper-implib-name.mi…
Oct 29, 2020
d122315
Update TZ info to tzdata2020d.
Oct 29, 2020
d190906
3 new testcases
Oct 29, 2020
5d8e31d
Fix implib filenames (adapted from Mingw2's 006-proper-implib-name.mi…
Oct 29, 2020
7673f35
Merge 8.6
Oct 29, 2020
ab08f14
Merge 8.7
Oct 29, 2020
f24e225
Add "{}" around many "expr" commands in testcases. Also in doc/expr.n
Oct 30, 2020
0a20648
Merge 8.6
Oct 30, 2020
60981b2
Simplify testcases using "incr"
Oct 30, 2020
26b4267
Merge 8.6
Oct 30, 2020
038342b
Rename "trunk" to "main", but with new propagating tag "trunk"
Oct 30, 2020
1096f7a
Merge 8.7
Oct 30, 2020
9558e89
Merge 8.7
Oct 30, 2020
47dca94
Merge 8.7
dkfellows Nov 1, 2020
a3328f0
Correct casing of "packageName" argument in Tcl_StaticPackage() call …
Nov 6, 2020
645b10a
Deprecate the (internal) functions TclGuessPackageName/TclGetLoadedPa…
Nov 6, 2020
a675af2
Merge 8.7
Nov 6, 2020
ccf4836
Merge jn-module-names. Sorry Don, but this is 100% compatible!
Nov 6, 2020
23033d1
Add MSVC "StaticPackage" build to travis. Fix another bug in winDde.t…
Nov 6, 2020
780ad32
Merge 8.6
Nov 6, 2020
5b9f552
Merge 8.7
Nov 6, 2020
51a8297
Added basic github action starter
dkfellows Nov 7, 2020
018c6d2
Updated workflow name
dkfellows Nov 7, 2020
20c3f9d
Updated README
dkfellows Nov 7, 2020
ebf9674
Updated arrangement
dkfellows Nov 8, 2020
a25767e
Added experimental Windows CI build instructions
dkfellows Nov 8, 2020
3b84b11
Added badges to README
dkfellows Nov 8, 2020
555810b
TIP 582: Comments in Expressions
dkfellows Nov 8, 2020
dc6d219
Merge 8.7
dkfellows Nov 8, 2020
95be6b4
Merge 8.7
dkfellows Nov 8, 2020
9ec2552
Github Actions seem to be working
dkfellows Nov 9, 2020
fc589b5
Merge 8.7
dkfellows Nov 9, 2020
3bdedff
Copied build control files for Github Actions from 8.7
dkfellows Nov 9, 2020
dc0f7eb
merge mark
dkfellows Nov 9, 2020
5d1b643
Cleaning up the actions and trying to make them behave more usefully …
dkfellows Nov 10, 2020
1e48ed6
Set a default DESTDIR in macosx/GNUmakefile
Nov 10, 2020
e80fa2d
Merge 8.6
Nov 10, 2020
0712182
backout e56a9f214a
Nov 10, 2020
1b1e94f
Backport [fc1e203728]: backout e56a9f214a. If it was wrong in core-8-…
Nov 13, 2020
25336e3
merge-mark
Nov 13, 2020
69720e7
Back to powershell
dkfellows Nov 14, 2020
13fbf10
Fixed some tests, added trial macOS build
dkfellows Nov 14, 2020
b62752e
Fix minor errors
dkfellows Nov 15, 2020
6d2e2ec
Updated README
dkfellows Nov 15, 2020
d80ed46
Added MSYS/gcc build for Windows, renamed Linux build step
dkfellows Nov 15, 2020
6b85cf0
Rethinking how to do a build matrix on several platforms
dkfellows Nov 15, 2020
647c138
Disable test that fails in CI environments
dkfellows Nov 16, 2020
af5fa13
Clean up for GitHub Actions as our CI service
dkfellows Nov 16, 2020
5dc69d3
Merge 8.6
dkfellows Nov 16, 2020
ff2906c
Merge 8.7
dkfellows Nov 16, 2020
f7e80fe
TIP #586 implementation: C String Parsing Support for binary scan
Nov 16, 2020
8381013
Merge 8.7
Nov 16, 2020
01a485f
Enhance misleading test-case utf-6.23 with better diagnostics: Byte 0…
Nov 16, 2020
fe731c2
Merge 8.6
Nov 16, 2020
09ddbaa
Fix 2 testcases which failed when compiled with TCL_UTF_MAX>3
Nov 16, 2020
b2902c3
Merge 8.6
Nov 16, 2020
eb331fd
Merge 8.7
Nov 16, 2020
deac57a
Ticket [d8ae5d5f4c]: Documentation of dict filter script: script resu…
oehhar Nov 16, 2020
741e0e8
Ticket [93551c1230]: Document that http::geturl processes the event l…
oehhar Nov 16, 2020
a50f5e4
Ticket [4f511270af7]: http documentation: -query data may be any data
oehhar Nov 16, 2020
918dde9
Ticket [361303]: http doc: status values incomplete
oehhar Nov 16, 2020
39935af
Merge documentation changes for http and dict from branch [oehhar-doc…
oehhar Nov 16, 2020
12b8334
Merge documentation changes for http and dict from branch [oehhar-doc…
oehhar Nov 16, 2020
0f1e52b
Merge documentation changes for http and dict from branch [oehhar-doc…
oehhar Nov 16, 2020
38f2b23
Extend tcltk-man2html-utils.tcl, so it can handle the TIP #588 man-pa…
Nov 17, 2020
2456a4d
Merge 8.6
Nov 17, 2020
90ea3a9
Extend tcltk-man2html-utils.tcl: Add euro-sign too
Nov 17, 2020
89e7c80
Merge 8.6
Nov 17, 2020
7ad97de
Merge 8.7
Nov 17, 2020
66d8d06
Generated html still not 100% correct ....
Nov 17, 2020
14f5981
Merge 8.6
Nov 17, 2020
a9ca672
Merge 8.7
Nov 17, 2020
e4091a3
Ticket [ac661a684d]: Tcl_NotifyChannel man page: "no writable callbac…
oehhar Nov 17, 2020
360e324
Ticket [ac661a684d]: Tcl_NotifyChannel man page: "no writable callbac…
oehhar Nov 17, 2020
cc94fe6
Ticket [ac661a684d]: Tcl_NotifyChannel man page: "no writable callbac…
oehhar Nov 17, 2020
b23c164
Test fails with Windows in CI, not MSVC
dkfellows Nov 17, 2020
a7298a4
Test fails with Windows in CI, not MSVC
dkfellows Nov 17, 2020
2bfcb5c
Extend tcltk-man2html-utils.tcl a little more: Allow original AT&T sy…
Nov 17, 2020
4e9248a
Merge 8.6
Nov 17, 2020
ca3535a
Merge 8.7
Nov 17, 2020
2321668
Add github actions build. Use Titlecase in Tcl_StaticPackage
Nov 18, 2020
e005020
Enhance misleading test-case utf-6.23 with better diagnostics: Byte 0…
Nov 18, 2020
5bc729c
Merge 8.5
Nov 18, 2020
1a2634f
Merge 8.6
Nov 18, 2020
2ca100f
More usage of TclUtfToUCS4/TclUniCharToUCS4 in stead of it's UniChar …
Nov 18, 2020
dde8168
Merge 8.7
Nov 18, 2020
39f8681
Handle github actions test failures. Backported from 8.6
Nov 19, 2020
c44ba49
Merge-mark 8.5
Nov 19, 2020
0003a06
Allow tools/tcltk-man2html.tcl to work with both configure.in and con…
Nov 19, 2020
7f0ce57
Merge 8.7
Nov 19, 2020
0e588fe
Use '&' in stead of 'and' in copyright statements consistantly
Nov 20, 2020
2e8c61f
Merge 8.6
Nov 20, 2020
37b7e95
shorten github actions build name
Nov 20, 2020
f7a310f
Generate html documentation in html5 format. Fix some html5 compatibi…
Nov 20, 2020
552cc74
Add a --disable-shared build to github actions
Nov 20, 2020
99af5f0
Add a --disable-shared build to github actions
Nov 20, 2020
201e6a9
Don't use "Copyright <year> _by_" any more. This results in more c…
Nov 20, 2020
cdba414
Merge 8.6
Nov 20, 2020
872199b
Merge 8.7
Nov 20, 2020
e4b293d
Now that all Tcl source files are UTF-8 by default, we can use the ©-…
Nov 23, 2020
a65707f
More ©-sign consolidation
Nov 23, 2020
25f629e
Merge 8.7
Nov 23, 2020
836f99b
Fix "make dist"
Nov 24, 2020
be1a550
contents.htm -> index.html and *.htm -> *.html
Nov 24, 2020
7643f83
Some missing test-constraints
Nov 24, 2020
19155f9
Slightly friendlier "jobs" labels. Fix exact OS (Linux/Mac/Windows) w…
Nov 25, 2020
ee4d807
Make HTML documentation html5-compatible. Still works the same with o…
Nov 25, 2020
5f8a5db
Merge 8.7
Nov 25, 2020
34226e0
grammar
bch Nov 26, 2020
5e6717e
silence warning re: sign-compare
bch Nov 26, 2020
6ff596c
use new TIP 494 64bit/#define in code comment to be consistent w/ code
bch Nov 26, 2020
298d9eb
squelch -Wunused warning
bch Nov 26, 2020
4623c7f
squelch warning by using proper(?) format specifiers; intent needs TB…
bch Nov 26, 2020
9368289
adjust for() loop controls to squelch sign-compare warning, move maxS…
bch Nov 26, 2020
8e13cb9
grammar
Nov 26, 2020
11c9b19
squelch warning by using proper format specifiers
Nov 26, 2020
1d447a6
More TCL_UNUSED
Nov 26, 2020
4c1800c
Merge 8.7
Nov 26, 2020
ee7be49
adjust for() loop controls to squelch sign-compare warning, move maxS…
Nov 26, 2020
08ddc96
Merge 8.5
Nov 26, 2020
eda521e
Merge 8.6
Nov 26, 2020
a18b6a7
Merge 8.7
Nov 26, 2020
267a186
Get rid of "register" keyword, forbidden in c++20.
Nov 26, 2020
c8bd621
Merge 8.6
Nov 26, 2020
75721f1
Merge 8.7
Nov 26, 2020
7bb7ae8
autoconf(unix): treat platform MSYS(2) similar to CYGWIN
jannick0 Nov 27, 2020
d1adb11
tests(env.test): add env variable MSYSTEM to be ignored
jannick0 Nov 27, 2020
7e088e2
autoconf(unix,win): remove redundant code block
jannick0 Nov 27, 2020
c0e89c7
build(unix): remove entanglement with win dir for shared CYGWIN library
jannick0 Nov 27, 2020
46caf2e
autoconf(unix): determine dynamically if CYGWIN platform is 64-bit
jannick0 Nov 29, 2020
fb59b77
github workflow: add MSYS2 CI-build
jannick0 Nov 27, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .fossil-settings/binary-glob
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
*.a
*.bmp
*.dll
*.exe
*.gif
*.gz
*.jpg
*.lib
*.pdf
*.png
*.xlsx
*.zip
18 changes: 18 additions & 0 deletions .fossil-settings/crlf-glob
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
compat/zlib/contrib/dotzlib/DotZLib/UnitTests.cs
compat/zlib/contrib/vstudio/readme.txt
compat/zlib/contrib/vstudio/*/zlib.rc
compat/zlib/contrib/vstudio/*/*.sln
compat/zlib/win32/*.txt
compat/zlib/win64/*.txt
libtommath/*.dsp
libtommath/*.sln
libtommath/*.vcproj
tools/tcl.wse.in
win/buildall.vc.bat
win/coffbase.txt
win/makefile.vc
win/rules.vc
win/rules-ext.vc
win/targets.vc
win/tcl.dsp
win/tcl.dsw
Empty file removed .fossil-settings/crnl-glob
Empty file.
7 changes: 7 additions & 0 deletions .fossil-settings/encoding-glob
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
tools/tcl.wse.in
win/buildall.vc.bat
win/coffbase.txt
win/makefile.vc
win/rules.vc
win/tcl.dsp
win/tcl.dsw
44 changes: 44 additions & 0 deletions .fossil-settings/ignore-glob
Original file line number Diff line number Diff line change
@@ -1,24 +1,68 @@
*.a
*.dll
*.dylib
*.dylib.E
*.exe
*.exp
*.la
*.lib
*.lo
*.o
*.obj
*.pdb
*.res
*.sl
*.so
*/Makefile
*/autom4te.cache
*/config.cache
*/config.log
*/config.status
*/tclConfig.sh
*/tclsh*
*/tcltest*
*/versions.vc
*/version.vc
*/libtcl.vfs
*/libtcl_*.zip
html
libtommath/bn.ilg
libtommath/bn.ind
libtommath/pretty.build
libtommath/tommath.src
libtommath/*.log
libtommath/*.pdf
libtommath/*.pl
libtommath/*.sh
libtommath/doc/*
libtommath/tombc/*
libtommath/pre_gen/*
libtommath/pics/*
libtommath/mtest/*
libtommath/logs/*
libtommath/etc/*
libtommath/demo/*
libtommath/*.out
libtommath/*.tex
macosx/configure
unix/autoMkindex.tcl
unix/dltest.marker
unix/dltest/*.bundle
unix/dltest/*.dll
unix/dltest/*.dylib
unix/dltest/*.o
unix/dltest/*.sl
unix/dltest/*.so
unix/tcl.pc
unix/tclIndex
unix/Tcl-Info.plist
unix/Tclsh-Info.plist
unix/pkgs/*
win/Debug*
win/Release*
win/*.manifest
win/pkgs/*
win/coffbase.txt
win/tcl.hpj
win/nmakehlp.out
win/nmhlp-out.txt
1 change: 1 addition & 0 deletions .fossil-settings/manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
u
40 changes: 40 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* eol=lf
* text=auto

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.3 text
*.c text
*.css text
*.enc text
*.h text
*.htm text
*.html text
*.java text
*.js text
*.json text
*.n text
*.svg text
*.ts text
*.tcl text
*.test text

# Declare files that will always have CRLF line endings on checkout.
*.bat eol=crlf
*.sln eol=crlf
*.vc eol=crlf

# Denote all files that are truly binary and should not be modified.
*.a binary
*.bmp binary
*.dll binary
*.exe binary
*.gif binary
*.gz binary
*.jpg binary
*.lib binary
*.pdf binary
*.png binary
*.xlsx binary
*.zip binary
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Important Note
==========
Please do not file issues with Tcl on Github. They are unlikely to be noticed in a timely fashion. Tcl issues are hosted in the [tcl fossil repository on core.tcl.tk](https://core.tcl.tk/tcl/tktnew); please post them there.
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Important Note
==========
Please do not file pull requests with Tcl on Github. They are unlikely to be noticed in a timely fashion. Tcl issues (including patches) are hosted in the [tcl fossil repository on core.tcl.tk](https://core.tcl.tk/tcl/tktnew); please post them there.
46 changes: 46 additions & 0 deletions .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Linux
on: [push]
jobs:
gcc:
runs-on: ubuntu-20.04
strategy:
matrix:
cfgopt:
- ""
- "--disable-shared"
- "--enable-symbols"
- "--enable-symbols=mem"
defaults:
run:
shell: bash
working-directory: unix
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare
run: touch tclStubInit.c tclOOStubInit.c
working-directory: generic
- name: Configure ${{ matrix.cfgopt }}
run: |
mkdir "${HOME}/install dir"
./configure ${CFGOPT} "--prefix=$HOME/install dir" || (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
- name: Test-Drive Installation
run: |
make install
- name: Create Distribution Package
run: |
make dist
- name: Convert Documentation to HTML
run: |
make html-tcl
61 changes: 61 additions & 0 deletions .github/workflows/mac-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: macOS
on: [push]
jobs:
xcode:
runs-on: macos-11.0
defaults:
run:
shell: bash
working-directory: macosx
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare
run: touch tclStubInit.c tclOOStubInit.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-11.0
strategy:
matrix:
symbols:
- "no"
- "mem"
dtrace:
- "no"
- "yes"
defaults:
run:
shell: bash
working-directory: unix
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare
run: |
touch tclStubInit.c tclOOStubInit.c
mkdir "$HOME/install dir"
working-directory: generic
- name: Configure (symbols=${{ matrix.symbols }} dtrace=${{ matrix.dtrace }})
# Note that macOS is always a 64 bit platform
run: ./configure --enable-64bit --enable-framework ${CFGOPT} "--prefix=$HOME/install dir" || (cat config.log && exit 1)
env:
CFGOPT: --enable-symbols=${{ matrix.symbols }} --enable-dtrace=${{ matrix.dtrace }}
- name: Build
run: |
make all tcltest
- name: Run Tests
run: |
make test
env:
ERROR_ON_FAILURES: 1
MAC_CI: 1
- name: Trial Installation
run: |
make install
33 changes: 33 additions & 0 deletions .github/workflows/msys2-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: msys2

on:
push:

jobs:
build:
runs-on: windows-latest

defaults:
run:
shell: msys2 {0}
working-directory: unix

steps:
- name: Init MSYS
uses: msys2/setup-msys2@v2
with:
msystem: MSYS
install: git base-devel msys2-devel zlib
update: true
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: |
autoreconf -vfi
./configure -C --prefix=/usr --enable-64bit || { cat config.log; cat config.cache; exit 1; }
make
- name: Run Tests (ignoring test io-53.4.1 which hangs)
run: make test
env:
ERROR_ON_FAILURES: 1
TESTFLAGS: -skip io-53.4.1 -verbose bpsel
75 changes: 75 additions & 0 deletions .github/workflows/win-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Windows
on: [push]
jobs:
msvc:
runs-on: windows-latest
defaults:
run:
shell: powershell
working-directory: win
# Using powershell means we need to explicitly stop on failure
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Init MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Build
run: |
&nmake -f makefile.vc all
if ($lastexitcode -ne 0) {
throw "nmake exit code: $lastexitcode"
}
- name: Build Test Harness
run: |
&nmake -f makefile.vc tcltest
if ($lastexitcode -ne 0) {
throw "nmake exit code: $lastexitcode"
}
- name: Run Tests
run: |
&nmake -f makefile.vc test
if ($lastexitcode -ne 0) {
throw "nmake exit code: $lastexitcode"
}
env:
ERROR_ON_FAILURES: 1
CI_BUILD_WITH_MSVC: 1
gcc:
runs-on: windows-latest
defaults:
run:
shell: bash
working-directory: win
strategy:
matrix:
symbols:
- "no"
- "mem"
- "all"
# Using powershell means we need to explicitly stop on failure
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install MSYS2 and Make
run: choco install msys2 make
- name: Prepare
run: |
touch tclStubInit.c tclOOStubInit.c
mkdir "${HOME}/install dir"
working-directory: generic
- name: Configure (symbols=${{ matrix.symbols }})
run: |
./configure ${CFGOPT} "--prefix=$HOME/install dir" || (cat config.log && exit 1)
env:
CFGOPT: --enable-64bit --enable-symbols=${{ matrix.symbols }}
- name: Build
run: make all
- name: Build Test Harness
run: make tcltest
- name: Run Tests
run: make test
env:
ERROR_ON_FAILURES: 1

# If you add builds with Wine, be sure to define the environment variable
# CI_USING_WINE when running them so that broken tests know not to run.
Loading