We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents daa9ac5 + 819562d commit a61098dCopy full SHA for a61098d
8 files changed
.github/workflows/ci.yml
@@ -0,0 +1,41 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
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
@@ -6,3 +6,4 @@ local.db
example
result
.direnv/
+dist/
0 commit comments