Skip to content

Commit fa968f6

Browse files
authored
feat: allow headers when searching (#298)
Closes #295
1 parent de10f29 commit fa968f6

8 files changed

Lines changed: 360 additions & 332 deletions

File tree

.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Fetch a prebuilt libduckdb for the `duckdb` dev-dependency rather than
2+
# compiling the bundled C++ amalgamation on every cold build.
3+
[env]
4+
DUCKDB_DOWNLOAD_LIB = "1"

.github/workflows/ci.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ jobs:
7474
name: Build (Windows)
7575
runs-on: windows-latest
7676
env:
77-
MATURIN_PEP517_ARGS: --features duckdb-bundled
78-
RUSTFLAGS: -C link-arg=Rstrtmgr.lib
77+
DUCKDB_LIB_DIR: ${{ github.workspace }}\opt\duckdb
7978
steps:
8079
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
8180
with:
@@ -87,6 +86,13 @@ jobs:
8786
pyproject.toml
8887
uv.lock
8988
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
89+
- name: Install libduckdb
90+
shell: bash
91+
run: |
92+
curl -L -o libduckdb-windows-amd64.zip https://github.com/duckdb/duckdb/releases/download/v${{ env.duckdb-version }}/libduckdb-windows-amd64.zip
93+
mkdir -p opt/duckdb
94+
unzip libduckdb-windows-amd64.zip -d opt/duckdb
95+
echo "${{ github.workspace }}\opt\duckdb" >> "$GITHUB_PATH"
9096
- name: Sync
9197
run: uv sync
9298
import:

0 commit comments

Comments
 (0)