You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nlpcraft.apache.org by "Sergey Makov (Jira)" <ji...@apache.org> on 2020/06/16 14:36:00 UTC

[jira] [Commented] (NLPCRAFT-69) Create CI builds for different OS/JDK.

    [ https://issues.apache.org/jira/browse/NLPCRAFT-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136708#comment-17136708 ] 

Sergey Makov commented on NLPCRAFT-69:
--------------------------------------

We already have CI builds based on GitHub Actions:

https://github.com/apache/incubator-nlpcraft/actions

Build matrix:
 
- Ubuntu + Java8 (build and test)
- Ubuntu + Java11 (build and test)
- Windows + Java8 (build only)
- Windows + Java11 (build only)


Please note that tests are disabled for all Windows builds because of the following error:
{code}
[WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1. 
See FAQ web page and the dump file D:\a\incubator-nlpcraft\incubator-nlpcraft\nlpcraft\target\surefire-reports\2020-06-12T11-03-57_291-jvmRun1.dumpstream
...
...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (integration-tests) on project nlpcraft: There are test failures.
{code}

Looks like we'll have to wait for Maven Surefire Plugin 3.0.0-M5 to be released, as they plan to switch from STDOUT-based protocol to TCP.


> Create CI builds for different OS/JDK.
> --------------------------------------
>
>                 Key: NLPCRAFT-69
>                 URL: https://issues.apache.org/jira/browse/NLPCRAFT-69
>             Project: NLPCraft
>          Issue Type: Task
>          Components: build
>            Reporter: Aaron Radzinski
>            Assignee: Sergey Makov
>            Priority: Major
>              Labels: jenkins, travis-ci
>             Fix For: 0.7.0, 0.8.0
>
>
> We currently don't test properly on Windows (or anything other than Mac OS frankly). We should setup a proper multi-environment CI to run tests on multiple OS and JDKs. See [https://github.com/apache/druid/blob/master/.travis.yml] for Druid approach as an example of using Travis for this goal.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)