Commit Graph

522 Commits

Author SHA1 Message Date
parrt 2b5bb2249e [maven-release-plugin] prepare for next development iteration 2021-03-11 14:18:19 -08:00
parrt 5e5b6d35b4 [maven-release-plugin] prepare release 4.9.2 2021-03-11 14:18:13 -08:00
parrt 8d621b73b6 support new anaconda mac location. 2021-03-11 13:55:37 -08:00
Mike Lischke f881e3ec3f Wrong load call fixed. 2021-03-09 11:04:04 +01:00
Mike Lischke 93c06214a6 Fixed C++ tests and build warnings 2021-03-09 11:01:57 +01:00
ericvergnaud 12be1d299d
split appveyor ci (#3082)
* split appveyor ci

* use appveyor matrix

* fix config

* analyze failure

* fix java test job

* troubleshooting

* install node

* troubleshooting

* troubleshooting

* troubleshooting

* troubleshooting

* troubleshooting

* troubleshoot

* troubleshoot

* troubleshoot

* troubleshoot

* troubleshoot

* troubleshoot

* troubleshoot

* almost there!

* full build
2021-02-14 00:11:27 +08:00
Eric Vergnaud f0ca1140a7 don't delete symlinks content 2021-02-13 03:31:12 +08:00
Eric Vergnaud a60c32d369 Fix an issue where test files were not deleted on MacOSX/Swift, leading to disk space issues on further CI builds 2021-02-03 12:38:38 +08:00
Ken Domino 4b649103f3
Restructure C# runtime and fix Issue #2693 (#3057)
* Fixes for https://github.com/antlr/antlr4/issues/2693

* Adding script for comparing Java and C# profile output.

* Update lexer grammar.

Tightening up the grammar rules. Still Java9.

* Tighten up grammar.

* Adding in new base classes for C# runtime tests for profiling.

* Complete test for Profile = true.

Update ProfileDescriptor to now parse and output profile. The grammar is asm8080 from grammars-v4, tightened up. The input is the example provided there, truncated to included fewer lines as that causes a null-ptr crash with the older runtime. I verified by modifying the .csproj in /tmp.

* Restructuring the Antlr C# runtime so that it is consistent with all other runtimes, a source directory (now antlr4/runtime/CSharp/src), and a test directory (antlr4/runtime/CSharp). In the test area, I added a test for profiling in issue-2593. This test requires the Antlr tool and Antlr C# tool to be build. The path is assumed in a relative path to the test, ../../../../tool/target/antlr4-*-SNAPSHOT-complete.jar, with globbing performed. The test simply checks the return result, output not important. There are no changes to the runtime C# source files other than placing them under src/. Several other build files were changed to reflect the new location of the Antlr C# runtime. I updated the instructions for users on how to build the runtime, including information on checking the environment--now explicitly specified here so people know what to install!
2021-02-02 09:51:41 +08:00
ericvergnaud e50ecf4961
Sanitize test code base (#3061)
* sanitize test code base and factorize common code

* fix failing tests

* fix failing tests

* fix failing tests
2021-01-29 19:54:59 +08:00
Eric Vergnaud 59f1f581de reduce noise 2021-01-27 10:10:24 +08:00
ericvergnaud bca2536f3f
Circleci project setup (#3055)
* Add .circleci/config.yml

* setup config

* use jdk8 image

* Updated config.yml

* Updated config.yml

* Updated config.yml

* more targets

* Updated config.yml

* update config

* update config

* update config

* update config

* update config

* Updated config.yml

* Updated config.yml

* Updated config.yml

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update runtime version

* update config

* update config

* python3 config

* update config

* align Python2 and Python3 test hierarchy

* update runtime version

* update config

* update config

* update config

* update config

* explore dart issue

* update dart installer

* update config

* update dart installer

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* use sudo on circle ci

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* Fix NPE

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* more consistent badges

* do not parallelize tests on circle-ci
2021-01-26 12:56:16 +08:00
Eric Vergnaud 84d8348dc1 fix disk space issue on MacOSX CI 2021-01-24 19:04:42 +08:00
Eric Vergnaud 6a7c3ad256 more feedback 2021-01-24 17:57:40 +08:00
ericvergnaud 107f40c63c
Use self hosted GitHub CI for Swift (#3036)
* Create swift-lexer.yml

Exploring self-hosted GitHub CI

* Create run-tests-swift.sh

* Update swift-lexer.yml

* Update swift-lexer.yml

* Update swift-lexer.yml

* chmod script

* chmod script

* fix typo

* Update swift-lexer.yml

* chmod script

* Update swift-lexer.yml

* Update swift-lexer.yml

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update swift-lexer.yml

* Update swift-lexer.yml

* Update run-tests-swift.sh

* Update swift-lexer.yml

* Update swift-lexer.yml

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* try java tests

* Update java-all.yml

* Update java-all.yml

* only run heartbeat when necessary (otherwise build hangs)

* kill hung process

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Create mac-action-runner-readme.txt

* try prefixing swift cmd with arch

* try again

* try locate generated binaries

* fix crash

* try from script

* keep trying

* keep trying

* in progress!

* let's see how it goes...

* fix failing build

* more logs

* more logs

* more logs

* finally ?

* grrrr

* let's see if maven is the culprit

* fix warnings when compiling swift runtime

* more warnings gone

* works with 1 class, how about many?

* more warnings gone

* less noise

* Revert "more warnings gone"

This reverts commit a09e221c41.

* try matrix

* fix failing build

* don't fail fast
2021-01-22 17:04:17 +08:00
Eric Vergnaud f26c95ff13 horrible code, but solves the immediate problem with latest IntelliJ/Java9+ 2021-01-13 16:44:06 +08:00
parrt 19ec50f38a [maven-release-plugin] prepare for next development iteration 2021-01-05 11:22:10 -08:00
parrt 5c2b686f95 [maven-release-plugin] prepare release 4.9.1 2021-01-05 11:22:02 -08:00
Ivan Kochurkin b4ceb2022a Simplify structure of csharp runtime files, remove not used .sln file, use PackageIcon property instead of outdated PackageIcon in Antlr4.csproj 2020-12-28 16:17:00 +03:00
Ivan Kochurkin dc8fc4f94f Fix dotnet build, remove not used code 2020-12-28 16:16:59 +03:00
Ivan Kochurkin 626192dd9b Fix dotnet tests: use dotnet on all platforms, remove useless files 2020-12-28 16:16:59 +03:00
Eric Vergnaud 82c8824147 Upgrade JUnit to address dependabot security alert 2020-11-28 22:42:43 +08:00
Eric Vergnaud 44e5a2c8ea Fix invalid import 2020-11-27 13:08:19 +08:00
parrt 69318d35fc [maven-release-plugin] prepare for next development iteration 2020-11-24 12:45:28 -08:00
parrt 1364da5ed3 [maven-release-plugin] prepare release 4.9 2020-11-24 12:45:20 -08:00
parrt 537eca3971 tweak doc 2020-11-24 12:36:00 -08:00
parrt f29018f9a5 allow multiple versions when locating python tool 2020-11-24 12:34:51 -08:00
parrt 59c24696ae tweak doc 2020-11-24 12:04:45 -08:00
Adam Wójs a057ebbd2e Added regression test for antlr/antlr4#2709 2020-10-20 22:06:59 +02:00
Eric Vergnaud 5b84a5c031 restore cpp build in appveyor 2020-10-11 00:09:47 +08:00
Eric Vergnaud 7732a383ab fix appveyor build for es6 2020-10-10 23:39:18 +08:00
Eric Vergnaud 8c4c47d999 fix appveyor build for es6 2020-10-10 23:34:27 +08:00
Eric Vergnaud 6ee7e0c21c fix appveyor build for es6 2020-10-10 23:16:54 +08:00
Eric Vergnaud a741dba79f fix appveyor build for es6 2020-10-10 22:42:00 +08:00
Eric Vergnaud 21cb5df94f fix appveyor build for es6 2020-10-10 22:26:36 +08:00
Eric Vergnaud d2ba4398e1 speed-up AppVeyor 2020-10-10 21:46:30 +08:00
Eric Vergnaud 518ec01c69 Disable Node tests in AppVeyor for now 2020-10-10 21:00:09 +08:00
Eric Vergnaud f333c36fd0 Disable Node tests in AppVeyor for now 2020-10-10 19:31:56 +08:00
Eric Vergnaud 654b92779c Disable Node tests in AppVeyor for now 2020-10-10 14:38:32 +08:00
Eric Vergnaud 40b9d4503d fix appveyor build of es6 2020-10-10 10:22:59 +08:00
Eric Vergnaud d1004f6be1 back to java 7 2020-10-04 13:14:39 +08:00
Eric Vergnaud 2bfbbb8c4f reenable tests 2020-10-04 13:03:23 +08:00
Eric Vergnaud afa772e4fa reenable tests 2020-10-04 12:59:53 +08:00
Eric Vergnaud 98ee666a66 reenable tests 2020-10-04 12:56:11 +08:00
Eric Vergnaud 96c62ac24c detect need to install js runtime via npm 2020-10-04 12:25:20 +08:00
Eric Vergnaud 2b2b84422b reduce scope while troubleshooting 2020-10-04 11:40:38 +08:00
Eric Vergnaud 263eb29a82 run npm install and link once before tests 2020-10-04 11:23:54 +08:00
Eric Vergnaud 7068d1bb0d accelerate failure temporarily 2020-10-04 11:19:08 +08:00
Eric Vergnaud b940648111 improve disaster scenario 2020-10-04 11:08:02 +08:00
Eric Vergnaud 7ce8e98d5e improve stack trace 2020-10-04 11:00:58 +08:00