Skip to content

Commit

Permalink
update to 0.6.1 (#104)
Browse files Browse the repository at this point in the history
* update to 0.6.1

Change-Id: I60f15d0cecf67c9355620abe40c5cabd13daef93

* use release bin for san test

Change-Id: Id10d0e51ca4f27094d291226156ef93c127f7322
  • Loading branch information
wangfenjin authored Dec 12, 2022
1 parent e666e08 commit 0a7b5be
Show file tree
Hide file tree
Showing 9 changed files with 3,636 additions and 2,792 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
name: Download duckdb
with:
repository: "duckdb/duckdb"
tag: "v0.6.0"
tag: "v0.6.1"
fileName: ${{ matrix.duckdb }}
out-file-path: .

Expand Down Expand Up @@ -117,17 +117,34 @@ jobs:
with:
rust-version: nightly
components: rust-src
# download libduckdb
- uses: robinraju/[email protected]
name: Download duckdb
with:
repository: "duckdb/duckdb"
tag: "v0.6.1"
fileName: "libduckdb-linux-amd64.zip"
out-file-path: .
- name: Linux extract duckdb
uses: ihiroky/extract-action@v1
with:
file_path: ${{ github.workspace }}/libduckdb-linux-amd64.zip
extract_dir: libduckdb
- name: Tests with asan
env:
RUSTFLAGS: -Zsanitizer=address
RUSTDOCFLAGS: -Zsanitizer=address
ASAN_OPTIONS: "detect_stack_use_after_return=1:detect_leaks=1"
DUCKDB_LIB_DIR: ${{ github.workspace }}/libduckdb
DUCKDB_INCLUDE_DIR: ${{ github.workspace }}/libduckdb
LD_LIBRARY_PATH: ${{ github.workspace }}/libduckdb
# Work around https://github.com/rust-lang/rust/issues/59125 by
# disabling backtraces. In an ideal world we'd probably suppress the
# leak sanitization, but we don't care about backtraces here, so long
# as the other tests have them.
RUST_BACKTRACE: "0"
run: cargo -Z build-std test --features 'bundled' --features 'modern-full' --target x86_64-unknown-linux-gnu
# run: cargo -Z build-std test --features 'bundled' --features 'modern-full' --target x86_64-unknown-linux-gnu
run: cargo -Z build-std test --features 'modern-full' --target x86_64-unknown-linux-gnu

- uses: wangfenjin/publish-crates@main
name: cargo publish --dry-run
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "duckdb"
version = "0.6.0"
version = "0.6.1"
authors = ["wangfenjin <[email protected]>"]
edition = "2021"
description = "Ergonomic wrapper for DuckDB"
Expand Down Expand Up @@ -69,7 +69,7 @@ tempdir = "0.3.7"

[dependencies.libduckdb-sys]
path = "libduckdb-sys"
version = "0.6.0"
version = "0.6.1"

[package.metadata.docs.rs]
features = []
Expand Down
2 changes: 1 addition & 1 deletion libduckdb-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libduckdb-sys"
version = "0.6.0"
version = "0.6.1"
authors = ["wangfenjin <[email protected]>"]
edition = "2021"
build = "build.rs"
Expand Down
Loading

0 comments on commit 0a7b5be

Please sign in to comment.