Skip to content

Commit 0a7b5be

Browse files
authored
update to 0.6.1 (#104)
* update to 0.6.1 Change-Id: I60f15d0cecf67c9355620abe40c5cabd13daef93 * use release bin for san test Change-Id: Id10d0e51ca4f27094d291226156ef93c127f7322
1 parent e666e08 commit 0a7b5be

File tree

9 files changed

+3636
-2792
lines changed

9 files changed

+3636
-2792
lines changed

.github/workflows/rust.yaml

+19-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
name: Download duckdb
3939
with:
4040
repository: "duckdb/duckdb"
41-
tag: "v0.6.0"
41+
tag: "v0.6.1"
4242
fileName: ${{ matrix.duckdb }}
4343
out-file-path: .
4444

@@ -117,17 +117,34 @@ jobs:
117117
with:
118118
rust-version: nightly
119119
components: rust-src
120+
# download libduckdb
121+
- uses: robinraju/[email protected]
122+
name: Download duckdb
123+
with:
124+
repository: "duckdb/duckdb"
125+
tag: "v0.6.1"
126+
fileName: "libduckdb-linux-amd64.zip"
127+
out-file-path: .
128+
- name: Linux extract duckdb
129+
uses: ihiroky/extract-action@v1
130+
with:
131+
file_path: ${{ github.workspace }}/libduckdb-linux-amd64.zip
132+
extract_dir: libduckdb
120133
- name: Tests with asan
121134
env:
122135
RUSTFLAGS: -Zsanitizer=address
123136
RUSTDOCFLAGS: -Zsanitizer=address
124137
ASAN_OPTIONS: "detect_stack_use_after_return=1:detect_leaks=1"
138+
DUCKDB_LIB_DIR: ${{ github.workspace }}/libduckdb
139+
DUCKDB_INCLUDE_DIR: ${{ github.workspace }}/libduckdb
140+
LD_LIBRARY_PATH: ${{ github.workspace }}/libduckdb
125141
# Work around https://github.com/rust-lang/rust/issues/59125 by
126142
# disabling backtraces. In an ideal world we'd probably suppress the
127143
# leak sanitization, but we don't care about backtraces here, so long
128144
# as the other tests have them.
129145
RUST_BACKTRACE: "0"
130-
run: cargo -Z build-std test --features 'bundled' --features 'modern-full' --target x86_64-unknown-linux-gnu
146+
# run: cargo -Z build-std test --features 'bundled' --features 'modern-full' --target x86_64-unknown-linux-gnu
147+
run: cargo -Z build-std test --features 'modern-full' --target x86_64-unknown-linux-gnu
131148

132149
- uses: wangfenjin/publish-crates@main
133150
name: cargo publish --dry-run

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "duckdb"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
authors = ["wangfenjin <[email protected]>"]
55
edition = "2021"
66
description = "Ergonomic wrapper for DuckDB"
@@ -69,7 +69,7 @@ tempdir = "0.3.7"
6969

7070
[dependencies.libduckdb-sys]
7171
path = "libduckdb-sys"
72-
version = "0.6.0"
72+
version = "0.6.1"
7373

7474
[package.metadata.docs.rs]
7575
features = []

libduckdb-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libduckdb-sys"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
authors = ["wangfenjin <[email protected]>"]
55
edition = "2021"
66
build = "build.rs"

0 commit comments

Comments
 (0)