Skip to content

Commit 703c741

Browse files
committed
build shared lib on windows and simplify windows step
1 parent 6e2b0ec commit 703c741

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build_and_test_tidesdb.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ jobs:
148148
-DCMAKE_PREFIX_PATH=/mingw64 \
149149
-DTIDESDB_WITH_SANITIZER=OFF \
150150
-DTIDESDB_BUILD_TESTS=OFF \
151+
-DBUILD_SHARED_LIBS=ON \
151152
-S . -B build
152153
cmake --build build --config Release
153154
cmake --install build --prefix /mingw64
@@ -175,8 +176,7 @@ jobs:
175176
if: runner.os == 'Windows'
176177
shell: msys2 {0}
177178
run: |
178-
export PATH="/mingw64/bin:$PATH"
179-
export LD_LIBRARY_PATH="/mingw64/lib:$LD_LIBRARY_PATH"
179+
export PATH="/mingw64/bin:/mingw64/lib:$PATH"
180180
cd tidesdb-python
181181
python -m venv venv
182182
source venv/bin/activate

0 commit comments

Comments
 (0)