Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ env:

jobs:
build:

runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- name: Install system packages
Expand All @@ -26,3 +24,21 @@ jobs:
run: cargo build --verbose --manifest-path rust/Cargo.toml
- name: Run tests
run: cargo test --verbose --manifest-path rust/Cargo.toml

build_latest_deps:
name: Latest Dependencies
runs-on: ubuntu-latest
continue-on-error: true
env:
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: allow
steps:
- uses: actions/checkout@v4
- name: Install system packages
run: |
sudo apt-get update
sudo apt-get install -y libsnappy-dev libzzip-dev zlib1g-dev libboost-all-dev
- run: rustup update stable && rustup default stable
- run: cargo update --verbose --manifest-path rust/Cargo.toml
- run: cargo build --verbose --manifest-path rust/Cargo.toml
- run: cargo test --verbose --manifest-path rust/Cargo.toml

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ categories = ["data-structures", "algorithms", "external-ffi-bindings", "memory-
keywords = ["big-data", "keyvaluestore", "fst", "search"]

[build-dependencies]
bindgen = ">=0.58"
bindgen = ">=0.69.5"
cmake = ">=0.1"

[dependencies]
Expand Down
Loading