Skip to content

Commit 0e3f244

Browse files
authored
Add default TileDB path setup for workflows when libtiledb_ref is not provided (#2280)
1 parent e6363be commit 0e3f244

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/build-wheels.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,19 @@ jobs:
110110
echo "TILEDB_BIN_PATH=$TILEDB_PATH/bin" >> $env:GITHUB_ENV
111111
shell: powershell
112112

113+
# Set up environment for default TileDB (when libtiledb_ref is not provided)
114+
- name: Set default TileDB paths (Unix)
115+
if: inputs.libtiledb_ref == '' && runner.os != 'Windows'
116+
run: |
117+
echo "TILEDB_LIB_PATH=${{ runner.temp }}/tiledb-external" >> $GITHUB_ENV
118+
shell: bash
119+
120+
- name: Set default TileDB paths (Windows)
121+
if: inputs.libtiledb_ref == '' && runner.os == 'Windows'
122+
run: |
123+
echo "TILEDB_BIN_PATH=${{ runner.temp }}/tiledb-external" >> $env:GITHUB_ENV
124+
shell: powershell
125+
113126
- name: "Brew setup on macOS" # x-ref c8e49ba8f8b9ce
114127
if: ${{ startsWith(matrix.buildplat[0], 'macos-') == true }}
115128
run: |

0 commit comments

Comments
 (0)