File tree Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 49
49
CIBW_ARCHS : all
50
50
CIBW_PRERELEASE_PYTHONS : True
51
51
CIBW_BUILD : ${{ matrix.python }}-${{ matrix.buildplat[1] }}
52
+ CIBW_TEST_REQUIRES : pytest
53
+ # This command should be just `pytest`, however, our tests require test data and those are only in the
54
+ # original {project} folder. The cibuildwheel logic unfortunately creates an empty folder for tests, changes
55
+ # directory there and so our tests will search for data folder in a completely different working directory.
56
+ CIBW_TEST_COMMAND : " pytest"
57
+ CIBW_ENVIRONMENT : TILEDB_REST_TOKEN=${{ secrets.TILEDB_CLOUD_HELPER_VAR }}
58
+ SYSTEM_VERSION_COMPAT : ${{ startsWith(matrix.os, 'macos-') }}
52
59
with :
53
60
output-dir : wheelhouse
54
61
Original file line number Diff line number Diff line change @@ -61,14 +61,14 @@ install(TARGETS main libtiledb DESTINATION tiledb)
61
61
if (TILEDB_DOWNLOADED )
62
62
message (STATUS "Adding libtiledb.so into install group" )
63
63
64
- install (IMPORTED_RUNTIME_ARTIFACTS TileDB::tiledb_shared DESTINATION tiledb/lib )
64
+ install (IMPORTED_RUNTIME_ARTIFACTS TileDB::tiledb_shared DESTINATION tiledb )
65
65
66
66
if (APPLE )
67
- set_target_properties (main PROPERTIES INSTALL_RPATH "@loader_path/lib " )
68
- set_target_properties (libtiledb PROPERTIES INSTALL_RPATH "@loader_path/lib " )
67
+ set_target_properties (main PROPERTIES INSTALL_RPATH "@loader_path" )
68
+ set_target_properties (libtiledb PROPERTIES INSTALL_RPATH "@loader_path" )
69
69
elseif (UNIX )
70
- set_target_properties (main PROPERTIES INSTALL_RPATH "\$ ORIGIN/lib " )
71
- set_target_properties (libtiledb PROPERTIES INSTALL_RPATH "\$ ORIGIN/lib " )
70
+ set_target_properties (main PROPERTIES INSTALL_RPATH "\$ ORIGIN" )
71
+ set_target_properties (libtiledb PROPERTIES INSTALL_RPATH "\$ ORIGIN" )
72
72
endif ()
73
73
endif ()
74
74
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ install(TARGETS cc DESTINATION tiledb)
37
37
38
38
if (TILEDB_DOWNLOADED )
39
39
if (APPLE )
40
- set_target_properties (cc PROPERTIES INSTALL_RPATH "@loader_path/lib " )
40
+ set_target_properties (cc PROPERTIES INSTALL_RPATH "@loader_path" )
41
41
elseif (UNIX )
42
- set_target_properties (cc PROPERTIES INSTALL_RPATH "\$ ORIGIN/lib " )
42
+ set_target_properties (cc PROPERTIES INSTALL_RPATH "\$ ORIGIN" )
43
43
endif ()
44
44
endif ()
You can’t perform that action at this time.
0 commit comments