Skip to content

Commit

Permalink
add build ci
Browse files Browse the repository at this point in the history
  • Loading branch information
絮语 committed Sep 4, 2024
1 parent 919b51c commit a03387d
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: test_build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Log system info
run: |
echo "CPU:"
lscpu
echo "Memory:"
free -h
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake make
- name: Configure project
run: cmake .
env:
MAKEFLAGS: "-j$(nproc)"

- name: Build project
run: make -j4

- name: test project
run: ./example/hnsw_example
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ The relationship between ob-vsag and the overall OceanBase architecture is shown

<img src="./images/ob-vsag.jpg" width = "60%" alt="InternalNode" align=center />


# Contributing

We warmly welcome every developer who loves database technology and look forward to embarking on a journey of ideas collision with you. Whether it's formatting and text corrections, bug fixes, or adding new features, these are all ways to participate and contribute.
Expand Down

0 comments on commit a03387d

Please sign in to comment.