This repository has been archived by the owner on May 5, 2024. It is now read-only.
chore(deps): update duckdb digest to d260074 #1322
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [ "main", "staging", "trying" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
RUSTC_WRAPPER: sccache | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
env: | |
LD_LIBRARY_PATH: ${{ github.workspace }}/duckdb/build/debug/src/ | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: hendrikmuhs/[email protected] | |
with: | |
variant: sccache | |
- name: Build | |
run: cargo build --verbose | |
- run: sudo apt install ninja-build build-essential | |
- run: make debug | |
env: | |
GEN: ninja | |
DISABLE_SANITIZER: 1 | |
working-directory: duckdb | |
- name: Compile tests | |
run: cargo test --no-run --all-features | |
- name: Run tests | |
run: LD_PRELOAD=$(whereis libasan.so.6 | cut -d ' ' -f 2) cargo test --verbose --all-features | |
- name: cleanup | |
run: | | |
ls | |
rm -rf duckdb/* | |
- working-directory: duckdb | |
run: git checkout src/include | |
- uses: katyo/publish-crates@v2 | |
if: github.ref == 'refs/heads/main' | |
with: | |
registry-token: ${{ secrets.CARGO_TOKEN }} | |
ignore-unpublished-changes: true |