Skip to content

Commit c162c24

Browse files
committed
build: build as static library for python bindings
1 parent 256ebd6 commit c162c24

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/python.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ on:
77
workflow_dispatch:
88

99
jobs:
10-
test:
10+
tests:
11+
name: Run tests on Python ${{ matrix.python-version }}
1112
runs-on: ubuntu-latest
1213
strategy:
1314
fail-fast: false

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ ignore = [
9696

9797
[tool.scikit-build]
9898
cmake.build-type = "Release"
99-
cmake.define = { "OPENAE_BUILD_PYTHON" = "ON" }
99+
cmake.define = { "BUILD_SHARED_LIBS" = "OFF", "OPENAE_BUILD_PYTHON" = "ON" }
100100
wheel.packages = ["openae"]
101101
build.verbose = true
102102
build-dir = "build/python/{wheel_tag}"

0 commit comments

Comments
 (0)