mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 01:27:46 +08:00
fixing python ci isssues
This commit is contained in:
@@ -88,6 +88,13 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
working-directory: ${{github.workspace}}/build
|
||||
# PYTHONNOUSERSITE=1: prevent the embedded Python interpreter from
|
||||
# loading numpy / other site-packages from ~/.local that were compiled
|
||||
# against a different ABI than the build-time Python (causes numpy
|
||||
# 1.x/2.x mismatch crashes in test_pydetector / test_pydescriptor /
|
||||
# test_pymatcher).
|
||||
env:
|
||||
PYTHONNOUSERSITE: 1
|
||||
run: |
|
||||
ctest -C ${{env.BUILD_TYPE}} --output-on-failure
|
||||
ctest -C ${{env.BUILD_TYPE}} --output-on-failure --rerun-failed
|
||||
@@ -92,6 +92,11 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
working-directory: ${{github.workspace}}/build
|
||||
# PYTHONNOUSERSITE=1: prevent the embedded Python interpreter from
|
||||
# loading numpy / other site-packages from the user's site that were
|
||||
# compiled against a different ABI than the build-time Python.
|
||||
env:
|
||||
PYTHONNOUSERSITE: 1
|
||||
run: |
|
||||
ctest -C ${{env.BUILD_TYPE}} --output-on-failure
|
||||
ctest -C ${{env.BUILD_TYPE}} --output-on-failure --rerun-failed
|
||||
|
||||
@@ -77,6 +77,14 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
working-directory: ${{github.workspace}}/build
|
||||
# PYTHONNOUSERSITE=1: prevent the embedded Python interpreter from
|
||||
# loading numpy / other site-packages from %APPDATA%\Python that
|
||||
# were compiled against a different ABI than the build-time Python
|
||||
# (causes "Could not find platform independent libraries <prefix>"
|
||||
# + numpy 1.x/2.x mismatch crashes in test_pydetector / test_pydescriptor
|
||||
# / test_pymatcher).
|
||||
env:
|
||||
PYTHONNOUSERSITE: 1
|
||||
run: |
|
||||
ctest -C ${{env.BUILD_TYPE}} --output-on-failure --timeout 300
|
||||
ctest -C ${{env.BUILD_TYPE}} --output-on-failure --timeout 300 --rerun-failed
|
||||
|
||||
Reference in New Issue
Block a user