Skip to content

Commit 03f8387

Browse files
committed
Extend installation test with MacOS support
1 parent d1dc237 commit 03f8387

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/basic.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,3 +343,4 @@ jobs:
343343
--build-dir ${{env.BUILD_DIR}}
344344
--install-dir ${{env.INSTL_DIR}}
345345
--build-type ${{env.BUILD_TYPE}}
346+
--shared-library

test/test_installation.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,14 @@ def _create_match_list(self) -> List[str]:
6060
if platform.system() == "Windows":
6161
lib_ext_static = "lib"
6262
lib_ext_shared = "lib"
63-
else:
63+
elif platform.system() == "Linux":
6464
lib_ext_static = "a"
6565
lib_ext_shared = "so"
6666
lib_prefix = "lib"
67+
else: # MacOS
68+
lib_ext_static = "a"
69+
lib_ext_shared = "dylib"
70+
lib_prefix = "lib"
6771

6872
bin = []
6973
if platform.system() == "Windows" and self.shared_library:

0 commit comments

Comments
 (0)