We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47b2425 commit dba1e05Copy full SHA for dba1e05
.github/workflows/build.yml
@@ -94,3 +94,23 @@ jobs:
94
run: cd fuzz && cargo test --verbose --color always
95
- name: Run fuzzers
96
run: cd fuzz && ./ci-fuzz.sh
97
+
98
+ check_bindings:
99
+ runs-on: ubuntu-latest
100
+ env:
101
+ TOOLCHAIN: stable
102
+ steps:
103
+ - name: Checkout source code
104
+ uses: actions/checkout@v2
105
+ - name: Install Rust ${{ env.TOOLCHAIN }} toolchain
106
+ uses: actions-rs/toolchain@v1
107
+ with:
108
+ toolchain: ${{ env.TOOLCHAIN }}
109
+ override: true
110
+ profile: minimal
111
+ - name: Install cbindgen
112
+ run: cargo install --force cbindgen
113
+ - name: Rebuild bindings, and check the sample app builds + links
114
+ run: ./genbindings.sh
115
+ - name: Check that the latest bindings are in git
116
+ run: [ "$(git diff)" != "" ] && exit 1
0 commit comments