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:23:23 UTC
[tinkerpop] branch 3.4-dev updated: Added gh action build for
3.4-dev
This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a commit to branch 3.4-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/3.4-dev by this push:
new 324fa15 Added gh action build for 3.4-dev
324fa15 is described below
commit 324fa15c5886d4f7c24027f83cd17656bc2cb393
Author: Stephen Mallette <st...@amazon.com>
AuthorDate: Fri Oct 1 12:22:17 2021 -0400
Added gh action build for 3.4-dev
Expecting this to fail for python as it has a 2/3 requirement CTR
---
.github/workflows/build-test.yml | 159 +++++++++++++++++++++++++++++++++++++++
1 file changed, 159 insertions(+)
diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
new file mode 100644
index 0000000..27bfa64
--- /dev/null
+++ b/.github/workflows/build-test.yml
@@ -0,0 +1,159 @@
+name: build-test
+on: [push, pull_request]
+jobs:
+ smoke:
+ name: smoke
+ timeout-minutes: 600 # 10 minutes
+ needs: smoke
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 8
+ uses: actions/setup-java@v2
+ with:
+ java-version: '8'
+ 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
+ timeout-minutes: 2700 # 45 minutes
+ needs: smoke
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 8
+ uses: actions/setup-java@v2
+ with:
+ java-version: '8'
+ 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
+ timeout-minutes: 2700 # 45 minutes
+ needs: smoke
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 8
+ uses: actions/setup-java@v2
+ with:
+ java-version: '8'
+ 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 verify -pl :gremlin-server -DskipTests -DskipIntegrationTests=false -DincludeNeo4j
+ spark-core:
+ name: spark core
+ timeout-minutes: 2700 # 45 minutes
+ needs: smoke
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 8
+ uses: actions/setup-java@v2
+ with:
+ java-version: '8'
+ 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 verify -pl :spark-gremlin -DskipTests -DskipIntegrationTests=false '-Dit.test=*IntegrateTest,!SparkGryoSerializerGraphComputerProcessIntegrateTest'
+ spark-gryo:
+ name: spark gryo
+ timeout-minutes: 2700 # 45 minutes
+ needs: smoke
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 8
+ uses: actions/setup-java@v2
+ with:
+ java-version: '8'
+ 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 verify -pl :spark-gremlin -DskipTests -DskipIntegrationTests=false -Dit.test=SparkGryoSerializerGraphComputerProcessIntegrateTest
+ gremlin-console:
+ name: gremlin-console
+ timeout-minutes: 1200 # 20 minutes
+ needs: smoke
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 8
+ uses: actions/setup-java@v2
+ with:
+ java-version: '8'
+ 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 verify -pl :gremlin-console -DskipTests -DskipIntegrationTests=false
+ javascript:
+ name: javascript
+ timeout-minutes: 900 # 15 minutes
+ needs: smoke
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 8
+ uses: actions/setup-java@v2
+ with:
+ java-version: '8'
+ 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
+ python:
+ name: python
+ timeout-minutes: 1200 # 20 minutes
+ needs: smoke
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 8
+ uses: actions/setup-java@v2
+ with:
+ java-version: '8'
+ distribution: 'adopt'
+ - name: Set up Python 2.x/3.x
+ uses: actions/setup-python@v2
+ with:
+ python-version: '2.7,3.8'
+ - name: Setup Python requirements
+ run: |
+ sudo apt install gcc libkrb5-dev
+ python3 -m pip install --upgrade pip
+ pip install virtualenv
+ - 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 verify -pl gremlin-python
+ dotnet:
+ name: .NET
+ timeout-minutes: 1200 # 20 minutes
+ needs: smoke
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 8
+ uses: actions/setup-java@v2
+ with:
+ java-version: '8'
+ distribution: 'adopt'
+ - name: Set up .NET 3.1.x
+ uses: actions/setup-dotnet@v1
+ with:
+ dotnet-version: '3.1.x'
+ - name: Build with Maven
+ run: |
+ touch gremlin-dotnet/src/.glv
+ touch gremlin-dotnet/test/.glv
+ mvn clean install -pl -:gremlin-javascript,-:gremlin-python -q -DskipTests -Dci
+ mvn verify -pl :gremlin-dotnet,:gremlin-dotnet-tests -P gremlin-dotnet
\ No newline at end of file