Skip to content

Commit

Permalink
Add examples to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminwinger committed Jul 3, 2023
1 parent a433352 commit b1be0fa
Showing 1 changed file with 23 additions and 0 deletions.
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 @@ -48,6 +51,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

0 comments on commit b1be0fa

Please sign in to comment.