File tree Expand file tree Collapse file tree 8 files changed +296
-175
lines changed
Expand file tree Collapse file tree 8 files changed +296
-175
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 66example
77result
88.direnv /
9+ dist /
You can’t perform that action at this time.
0 commit comments