-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (44 loc) · 1.3 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Java Library Template CI
# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Trigger the worflow on push or pull request by only for the main branch
push:
branches:
- main
pull_request:
branches:
- main
paths-ignore:
- '**.md'
concurrency:
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
test-java-template:
runs-on: ubuntu-20.04
container:
image: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:latest
options:
--shm-size 4096m
steps:
- uses: actions/[email protected]
- name: Install graphscope
env:
GS_CODE_HOME : ${{ github.workspace }}/GraphScope
run: |
git clone -b main --single-branch https://github.com/alibaba/GraphScope.git ${GS_CODE_HOME}
cd ${GS_CODE_HOME}
# default install to "/opt/graphscope"
make gae ENABLE_JAVA_SDK=ON
# also make coordinator and client for python test
make coordinator && make client
- name : Build
run : |
mvn clean install
- name: Run Test
env:
GRAPHSCOPE_HOME: /opt/graphscope
run: |
mvn exec::exec@python