Skip to content

Commit 3ea2b87

Browse files
committed
ci: checkout AdaWorldAPI/ndarray sibling for build + test workflows
ndarray is a custom fork (55 HPC modules, AMX tiles, jitson Cranelift JIT, 880+ tests) at ../../../ndarray relative to crates/lance-graph/. CI runners don't have the sibling repo cloned → cargo can't resolve the path dependency → build/test/clippy all fail. Fix: add `actions/checkout@v4` step for AdaWorldAPI/ndarray with `path: ../ndarray` in both rust-test.yml and build.yml. This places the checkout at $GITHUB_WORKSPACE/../ndarray which resolves correctly from the crate's Cargo.toml path = "../../../ndarray". NOT the fix Copilot suggested (replace with crates.io ndarray 0.15). That would lose the entire HPC foundation. https://claude.ai/code/session_01SbYsmmbPf9YQuYbHZN52Zh
1 parent d760655 commit 3ea2b87

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
- stable
3131
steps:
3232
- uses: actions/checkout@v4
33+
- name: Checkout AdaWorldAPI/ndarray (sibling dependency)
34+
uses: actions/checkout@v4
35+
with:
36+
repository: AdaWorldAPI/ndarray
37+
path: ../ndarray
3338
- name: Setup rust toolchain
3439
run: |
3540
rustup toolchain install ${{ matrix.toolchain }}

.github/workflows/rust-test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
- stable
3131
steps:
3232
- uses: actions/checkout@v4
33+
- name: Checkout AdaWorldAPI/ndarray (sibling dependency)
34+
uses: actions/checkout@v4
35+
with:
36+
repository: AdaWorldAPI/ndarray
37+
path: ../ndarray
3338
- name: Setup rust toolchain
3439
run: |
3540
rustup toolchain install ${{ matrix.toolchain }}
@@ -56,6 +61,11 @@ jobs:
5661
timeout-minutes: 30
5762
steps:
5863
- uses: actions/checkout@v4
64+
- name: Checkout AdaWorldAPI/ndarray (sibling dependency)
65+
uses: actions/checkout@v4
66+
with:
67+
repository: AdaWorldAPI/ndarray
68+
path: ../ndarray
5969
- name: Setup rust toolchain
6070
run: |
6171
rustup toolchain install stable

0 commit comments

Comments
 (0)