You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2021/10/01 16:26:00 UTC
[tinkerpop] 02/02: Added gh action build for 3.5-dev CTR
This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a commit to branch 3.5-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
commit 273b8817e2b41ba6aedea09becb7e1433df1bfd8
Author: Stephen Mallette <st...@amazon.com>
AuthorDate: Fri Oct 1 12:25:22 2021 -0400
Added gh action build for 3.5-dev CTR
---
.github/workflows/build-test.yml | 88 +++++++++++++++++++++++++++-------------
1 file changed, 59 insertions(+), 29 deletions(-)
diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
index ba3c114..6dabe27 100644
--- a/.github/workflows/build-test.yml
+++ b/.github/workflows/build-test.yml
@@ -7,15 +7,29 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Set up JDK 8
+ - name: Set up JDK 11
uses: actions/setup-java@v2
with:
- java-version: '8'
+ java-version: '11'
+ distribution: 'adopt'
+ - name: Build with Maven
+ run: mvn clean install -DskipTests -Dci --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
+ java-jdk11:
+ name: mvn clean install - jdk11
+ timeout-minutes: 2700 # 45 minutes
+ needs: smoke
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 11
+ uses: actions/setup-java@v2
+ with:
+ java-version: '11'
distribution: 'adopt'
- name: Build with Maven
run: mvn clean install -pl -:gremlin-javascript -Dci --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- java:
- name: mvn clean install
+ java-jdk8:
+ name: mvn clean install - jdk8
timeout-minutes: 2700 # 45 minutes
needs: smoke
runs-on: ubuntu-latest
@@ -28,22 +42,38 @@ jobs:
distribution: 'adopt'
- name: Build with Maven
run: mvn clean install -pl -:gremlin-javascript -Dci --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- gremlin-server:
- name: gremlin-server
+ gremlin-server-default:
+ name: gremlin-server default
timeout-minutes: 2700 # 45 minutes
needs: smoke
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Set up JDK 8
+ - name: Set up JDK 11
uses: actions/setup-java@v2
with:
- java-version: '8'
+ java-version: '11'
distribution: 'adopt'
- name: Build with Maven
run: |
- mvn clean install -pl -:gremlin-javascript,-:gremlin-python,-gremlin-dotnet,-:gremlin-dotnet-source,-:gremlin-dotnet-tests -q -DskipTests -Dci
+ mvn clean install -pl -:gremlin-javascript,-:gremlin-python,-gremlin-dotnet,-:gremlin-dotnet-source,-:gremlin-dotnet-tests,-:gremlint -q -DskipTests -Dci
mvn verify -pl :gremlin-server -DskipTests -DskipIntegrationTests=false -DincludeNeo4j
+ gremlin-server-unified:
+ name: gremlin-server unified
+ timeout-minutes: 2700 # 45 minutes
+ needs: smoke
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 11
+ uses: actions/setup-java@v2
+ with:
+ java-version: '11'
+ distribution: 'adopt'
+ - name: Build with Maven
+ run: |
+ mvn clean install -pl -:gremlin-javascript,-:gremlin-python,-gremlin-dotnet,-:gremlin-dotnet-source,-:gremlin-dotnet-tests,-:gremlint -q -DskipTests -Dci
+ mvn verify -pl :gremlin-server -DskipTests -DskipIntegrationTests=false -DincludeNeo4j -DtestUnified=true
spark-core:
name: spark core
timeout-minutes: 2700 # 45 minutes
@@ -51,14 +81,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Set up JDK 8
+ - name: Set up JDK 11
uses: actions/setup-java@v2
with:
- java-version: '8'
+ java-version: '11'
distribution: 'adopt'
- name: Build with Maven
run: |
- mvn clean install -pl -:gremlin-javascript,-:gremlin-python,-gremlin-dotnet,-:gremlin-dotnet-source,-:gremlin-dotnet-tests -q -DskipTests -Dci
+ mvn clean install -pl -:gremlin-javascript,-:gremlin-python,-gremlin-dotnet,-:gremlin-dotnet-source,-:gremlin-dotnet-tests,-:gremlint -q -DskipTests -Dci
mvn verify -pl :spark-gremlin -DskipTests -DskipIntegrationTests=false '-Dit.test=*IntegrateTest,!SparkGryoSerializerGraphComputerProcessIntegrateTest'
spark-gryo:
name: spark gryo
@@ -67,14 +97,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Set up JDK 8
+ - name: Set up JDK 11
uses: actions/setup-java@v2
with:
- java-version: '8'
+ java-version: '11'
distribution: 'adopt'
- name: Build with Maven
run: |
- mvn clean install -pl -:gremlin-javascript,-:gremlin-python,-gremlin-dotnet,-:gremlin-dotnet-source,-:gremlin-dotnet-tests -q -DskipTests -Dci
+ mvn clean install -pl -:gremlin-javascript,-:gremlin-python,-gremlin-dotnet,-:gremlin-dotnet-source,-:gremlin-dotnet-tests,-:gremlint -q -DskipTests -Dci
mvn verify -pl :spark-gremlin -DskipTests -DskipIntegrationTests=false -Dit.test=SparkGryoSerializerGraphComputerProcessIntegrateTest
gremlin-console:
name: gremlin-console
@@ -83,14 +113,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Set up JDK 8
+ - name: Set up JDK 11
uses: actions/setup-java@v2
with:
- java-version: '8'
+ java-version: '11'
distribution: 'adopt'
- name: Build with Maven
run: |
- mvn clean install -pl -:gremlin-javascript,-:gremlin-python,-gremlin-dotnet,-:gremlin-dotnet-source,-:gremlin-dotnet-tests -q -DskipTests -Dci
+ mvn clean install -pl -:gremlin-javascript,-:gremlin-python,-gremlin-dotnet,-:gremlin-dotnet-source,-:gremlin-dotnet-tests,-:gremlint -q -DskipTests -Dci
mvn verify -pl :gremlin-console -DskipTests -DskipIntegrationTests=false
javascript:
name: javascript
@@ -99,15 +129,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Set up JDK 8
+ - name: Set up JDK 11
uses: actions/setup-java@v2
with:
- java-version: '8'
+ java-version: '11'
distribution: 'adopt'
- name: Build with Maven
run: |
mvn clean install -pl -:gremlin-python,-gremlin-dotnet,-:gremlin-dotnet-source,-:gremlin-dotnet-tests -q -DskipTests -Dci
- mvn verify -pl :gremlin-javascript
+ mvn verify -pl :gremlin-javascript,:gremlint
python:
name: python
timeout-minutes: 1200 # 20 minutes
@@ -115,15 +145,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Set up JDK 8
+ - name: Set up JDK 11
uses: actions/setup-java@v2
with:
- java-version: '8'
+ java-version: '11'
distribution: 'adopt'
- - name: Set up Python 2.x/3.x
+ - name: Set up Python 3.8
uses: actions/setup-python@v2
with:
- python-version: '2.7,3.8'
+ python-version: '3.8'
- name: Setup Python requirements
run: |
sudo apt install gcc libkrb5-dev
@@ -132,7 +162,7 @@ jobs:
- name: Build with Maven
run: |
touch gremlin-python/.glv
- mvn clean install -pl -:gremlin-javascript,-gremlin-dotnet,-:gremlin-dotnet-source,-:gremlin-dotnet-tests -DskipTests
+ mvn clean install -pl -:gremlin-javascript,-gremlin-dotnet,-:gremlin-dotnet-source,-:gremlin-dotnet-tests,-:gremlint -q -DskipTests -Dci
mvn verify -pl gremlin-python
dotnet:
name: .NET
@@ -141,10 +171,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Set up JDK 8
+ - name: Set up JDK11
uses: actions/setup-java@v2
with:
- java-version: '8'
+ java-version: '11'
distribution: 'adopt'
- name: Set up .NET 3.1.x
uses: actions/setup-dotnet@v1
@@ -154,5 +184,5 @@ jobs:
run: |
touch gremlin-dotnet/src/.glv
touch gremlin-dotnet/test/.glv
- mvn clean install -pl -:gremlin-javascript,-:gremlin-python -q -DskipTests -Dci
+ mvn clean install -pl -:gremlin-javascript,-:gremlin-python,-:gremlint -q -DskipTests -Dci
mvn verify -pl :gremlin-dotnet,:gremlin-dotnet-tests -P gremlin-dotnet
\ No newline at end of file