Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example Fix and CI #1753

Merged
merged 1 commit into from
Jul 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
name: gcc build & test
needs: [clang-formatting-check]
runs-on: kuzu-self-hosted-testing
env:
# Share build cache when building rust API and the example project
CARGO_TARGET_DIR: ${{ github.workspace }}/target
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -51,6 +54,26 @@ jobs:
file: cover.info
functionalities: 'search'

- name: C Example
working-directory: examples/c
run: |
mkdir build -p
cd build
CC=gcc CXX=g++ cmake ..
cmake --build .

- name: C++ Example
working-directory: examples/cpp
run: |
mkdir build -p
cd build
CC=gcc CXX=g++ cmake ..
cmake --build .

- name: Rust example
working-directory: examples/rust
run: CC=gcc CXX=g++ cargo build

gcc-build-test-with-asan:
name: gcc build & test with asan
needs: [gcc-build-test]
Expand Down
Loading