Skip to content

Commit 436bc6e

Browse files
committed
fix
1 parent 3dc613a commit 436bc6e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,14 @@ jobs:
100100
- name: "Configure TileDB Core"
101101
if: inputs.libtiledb_ref
102102
run: |
103+
if [[ "${{ runner.os }}" == "Windows" ]]; then
104+
BUILD_SHARED="OFF"
105+
else
106+
BUILD_SHARED="ON"
107+
fi
103108
cmake -S _tiledb_core -B _tiledb_core/build \
104109
-DCMAKE_BUILD_TYPE=Release \
105-
-DBUILD_SHARED_LIBS=ON \
110+
-DBUILD_SHARED_LIBS=${BUILD_SHARED} \
106111
-DCMAKE_INSTALL_PREFIX="${GITHUB_WORKSPACE//\\//}/_tiledb_core/dist" \
107112
-DTILEDB_INSTALL_LIBDIR=lib \
108113
-DTILEDB_S3=ON \
@@ -128,10 +133,6 @@ jobs:
128133
WHEEL_NAME=$(ls dist/*.whl)
129134
pip install --verbose ${WHEEL_NAME}[test]
130135
131-
- name: "Add TileDB to PATH (custom build only)"
132-
if: inputs.libtiledb_ref
133-
run: echo "${{ github.workspace }}/_tiledb_core/dist/bin" >> $GITHUB_PATH
134-
135136
- name: "Run tests"
136137
run: |
137138
PROJECT_CWD=$PWD

0 commit comments

Comments
 (0)