mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-04 09:07:47 +08:00
flaky fixes
This commit is contained in:
@@ -77,13 +77,17 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
working-directory: ${{github.workspace}}/build
|
||||
# PYTHONHOME points the embedded interpreter at vcpkg's bundled
|
||||
# Python install (where Lib/, DLLs/ live). Without it Python emits
|
||||
# "Could not find platform independent libraries <prefix>" at init
|
||||
# and runs without a stdlib, breaking every numpy import.
|
||||
# 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).
|
||||
# (numpy 1.x/2.x mismatch crashes in test_pydetector /
|
||||
# test_pydescriptor / test_pymatcher).
|
||||
env:
|
||||
PYTHONHOME: ${{env.VCPKG_EXPORT_PATH}}/installed/x64-windows-release/tools/python3
|
||||
PYTHONNOUSERSITE: 1
|
||||
run: |
|
||||
ctest -C ${{env.BUILD_TYPE}} --output-on-failure --timeout 300
|
||||
|
||||
Reference in New Issue
Block a user