Skip to content

Commit

Permalink
share build cache when building rust API and the example project (#1995)
Browse files Browse the repository at this point in the history
  • Loading branch information
russell-liu committed Sep 6, 2023
1 parent 520d496 commit b71fe50
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,16 @@ jobs:
needs: [rustfmt-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
CARGO_BUILD_JOBS: 32
CC: gcc
CXX: g++
steps:
- uses: actions/checkout@v3

- name: Rust share build
# Share build cache when building rust API and the example project
run: echo $'[workspace]\nmembers = ["tools/rust_api","examples/rust"]' > Cargo.toml

- name: Rust test
working-directory: tools/rust_api
run: |
Expand Down

0 comments on commit b71fe50

Please sign in to comment.