Skip to content

Commit a61098d

Browse files
authored
Merge pull request #20 from tursodatabase/levy/new-version
New version
2 parents daa9ac5 + 819562d commit a61098d

File tree

8 files changed

+296
-175
lines changed

8 files changed

+296
-175
lines changed

.github/workflows/ci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
19+
- name: Install Rust
20+
run: rustup update stable && rustup default stable
21+
22+
- name: Setup caching
23+
uses: Swatinem/rust-cache@v2
24+
25+
- name: Install bindgen-cli
26+
run:
27+
cargo install bindgen-cli
28+
29+
- name: Check bindings
30+
run: |
31+
./bindgen.sh
32+
git diff --exit-code src/bindings.rs
33+
34+
- name: Check
35+
run: cargo fmt --all --check
36+
37+
- name: Build
38+
run: cargo build --verbose
39+
40+
- name: Tests
41+
run: cargo test --verbose

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ local.db
66
example
77
result
88
.direnv/
9+
dist/

0 commit comments

Comments
 (0)