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 1b2cf57 commit 4820ec1Copy full SHA for 4820ec1
.github/workflows/main.yml
@@ -116,3 +116,16 @@ jobs:
116
- name: test
117
run: cargo test -v
118
119
+ # Re-generate the openvino-sys bindings and check if anything has changed. A failure in this step
120
+ # indicates that we need to decide wether to commit the changes from `cargo xtask codegen`.
121
+ codegen:
122
+ name: Generate openvino-sys bindings
123
+ runs-on: ubuntu-latest
124
+ steps:
125
+ - uses: actions/checkout@v2
126
+ with:
127
+ submodules: recursive
128
+ - name: Generate bindings
129
+ run: cargo xtask codegen
130
+ - name: Verify no changes
131
+ run: git diff --ignore-submodules --no-ext-diff --name-only --exit-code
0 commit comments