Skip to content

Commit 11e906c

Browse files
committed
Add a step to check that bindgen bindings are ok.
1 parent 2bd207b commit 11e906c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.circleci/config.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ jobs:
2929
- run:
3030
name: Run all tests
3131
command: cargo test --all
32+
- run:
33+
name: Check bindgen
34+
command: |
35+
cargo install bindgen
36+
scripts/update-bindgen.sh
37+
git diff --exit-code
3238
- run:
3339
name: Check Formatting
3440
command: |
@@ -67,6 +73,12 @@ jobs:
6773
- run:
6874
name: Run all tests
6975
command: cargo test --no-default-features --features=builtin-lua53 --all
76+
- run:
77+
name: Check bindgen
78+
command: |
79+
cargo install bindgen
80+
scripts/update-bindgen.sh
81+
git diff --exit-code
7082
- run:
7183
name: Check Formatting
7284
command: |
@@ -111,6 +123,12 @@ jobs:
111123
- run:
112124
name: Run all tests
113125
command: cargo test --no-default-features --features=system-lua51 --all
126+
- run:
127+
name: Check bindgen
128+
command: |
129+
cargo install bindgen
130+
scripts/update-bindgen.sh
131+
git diff --exit-code
114132
- run:
115133
name: Check Formatting
116134
command: |

0 commit comments

Comments
 (0)