Skip to content

Commit ee4d5f1

Browse files
committed
Try to set the Python lib path explicitly for macOS
1 parent 6db159e commit ee4d5f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
uses: actions/setup-python@v2
3636
with:
3737
python-version: ${{ matrix.python }}
38+
architecture: ${{ matrix.platform }}
3839

3940
- name: Install dependencies
4041
run: |
@@ -50,6 +51,9 @@ jobs:
5051

5152
- name: Run Embedding tests
5253
run: dotnet test --runtime any-${{ matrix.platform }} src/embed_tests/
54+
env:
55+
# Set lookup path for macOS
56+
DYLD_LIBRARY_PATH: ${{ env.pythonLocation }}/lib
5357

5458
# TODO: Run perf tests
5559
# TODO: Run mono tests on Windows?

0 commit comments

Comments
 (0)