Skip to content

refactor(interactive): Refactor the user interface of Interactive #268

refactor(interactive): Refactor the user interface of Interactive

refactor(interactive): Refactor the user interface of Interactive #268

Workflow file for this run

name: GraphScope Flex CI
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
workflow_dispatch:
push:
branches:
- main
paths:
- 'flex/**'
- '.github/workflows/flex.yml'
pull_request:
branches:
- main
paths:
- 'flex/**'
- '.github/workflows/flex.yml'
concurrency:
group: ${{ github.repository }}-${{ github.event.number || github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
build-flex:
runs-on: ubuntu-20.04
if: ${{ github.repository == 'alibaba/GraphScope' }}
container:
image: registry.cn-hongkong.aliyuncs.com/graphscope/hqps-server-base:v0.0.6
steps:
- uses: actions/checkout@v3
- name: Install latest libgrape-lite
if: false
run: |
git clone --single-branch https://github.com/alibaba/libgrape-lite.git /tmp/libgrape-lite
cd /tmp/libgrape-lite
mkdir -p build && cd build
cmake ..
make -j$(nproc)
make install
- name: Build
env:
HOME: /home/graphscope/
run: |
cd ${GITHUB_WORKSPACE}/flex
mkdir build && cd build
cmake .. && sudo make -j$(nproc)
- name: GRIN on mutable csr test
run: |
git submodule update --init
cd flex/engines/graph_db/grin
mkdir build && cd build
cmake .. && sudo make -j$(nproc)
export FLEX_DATA_DIR=../../../../interactive/examples/modern_graph/
./run_grin_test 'flex://schema_file=../../../../interactive/examples/modern_graph/modern_graph.yaml&bulk_load_file=../../../../interactive/examples/modern_graph/bulk_load.yaml'
- name: Test Graph Loading on modern graph
env:
FLEX_DATA_DIR: ${{ github.workspace }}/flex/storages/rt_mutable_graph/modern_graph/
run: |
cd ${GITHUB_WORKSPACE}/flex/build/
SCHEMA_FILE=../storages/rt_mutable_graph/modern_graph/modern_graph.yaml
BULK_LOAD_FILE=../storages/rt_mutable_graph/modern_graph/bulk_load.yaml
GLOG_v=10 ./tests/rt_mutable_graph/test_graph_loading ${SCHEMA_FILE} ${BULK_LOAD_FILE} /tmp/csr-data-dir/
- name: Test Graph Loading on LDBC SNB sf0.1
env:
GS_TEST_DIR: ${{ github.workspace }}/gstest/
FLEX_DATA_DIR: ${{ github.workspace }}/gstest/flex/ldbc-sf01-long-date/
run: |
# remove modern graph indices
rm -rf /tmp/csr-data-dir/
git clone -b master --single-branch --depth=1 https://github.com/GraphScope/gstest.git ${GS_TEST_DIR}
cd ${GITHUB_WORKSPACE}/flex/build/
SCHEMA_FILE=${FLEX_DATA_DIR}/audit_graph_schema.yaml
BULK_LOAD_FILE=${FLEX_DATA_DIR}/audit_bulk_load.yaml
GLOG_v=10 ./tests/rt_mutable_graph/test_graph_loading ${SCHEMA_FILE} ${BULK_LOAD_FILE} /tmp/csr-data-dir/ 2