Skip to content

Commit

Permalink
upgrade to 0.7.0 (#122)
Browse files Browse the repository at this point in the history
* upgrade to 0.7.0

Change-Id: I5e9b597d51e0838676028873fa5b71b81d99ba6e

* use bundled for asan

Change-Id: Id42ad0dc77c5718de4cd313d9829364de7c0dbfc
  • Loading branch information
wangfenjin authored Feb 13, 2023
1 parent 65479bc commit 18eff6d
Show file tree
Hide file tree
Showing 11 changed files with 54,700 additions and 38,970 deletions.
21 changes: 2 additions & 19 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.1"
tag: "v0.7.0"
fileName: ${{ matrix.duckdb }}
out-file-path: .

Expand Down Expand Up @@ -118,34 +118,17 @@ jobs:
with:
rust-version: nightly
components: rust-src
# download libduckdb
- uses: robinraju/release-downloader@v1.4
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 '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

- 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.1"
version = "0.7.0"
authors = ["wangfenjin <wangfenj@gmail.com>"]
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.1"
version = "0.7.0"

[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.1"
version = "0.7.0"
authors = ["wangfenjin <wangfenj@gmail.com>"]
edition = "2021"
build = "build.rs"
Expand Down
Loading

0 comments on commit 18eff6d

Please sign in to comment.