Skip to content
This repository was archived by the owner on Jan 3, 2025. It is now read-only.

Commit f48c34c

Browse files
authored
💚 Fix CI test failure caused by linker path conflicts
ref: https://github.com/ilammy/msvc-dev-cmd?tab=readme-ov-file#name-conflicts-with-shell-bash
1 parent c77e730 commit f48c34c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ jobs:
157157
env:
158158
SYSTEM_VERSION_COMPAT: 0
159159
run: |
160+
rm -vf /usr/bin/link
160161
pip install dist/*.whl
161162
python -vc "from orb_slam3 import ORBExtractor"
162163
@@ -197,12 +198,17 @@ jobs:
197198
with:
198199
python-version: ${{ matrix.python }}
199200

201+
- uses: ilammy/msvc-dev-cmd@v1
202+
id: msvc-env
203+
if: startsWith(matrix.os, 'windows')
204+
200205
- name: Install Poetry
201206
run: |
202207
pip install poetry
203208
204209
- name: Install dependencies
205210
run: |
211+
rm -vf /usr/bin/link
206212
poetry install --no-root --only=test
207213
poetry run pip install dist/*.whl
208214

0 commit comments

Comments
 (0)