We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8800b5 commit 5eb3241Copy full SHA for 5eb3241
.github/workflows/ci.yml
@@ -106,5 +106,18 @@ jobs:
106
if: matrix.os == 'windows-2019'
107
run: cargo test -p accesskit_windows
108
109
- generate-headers:
110
- uses: AccessKit/accesskit/.github/workflows/generate-headers.yml@main
+ check-c-header:
+ runs-on: ubuntu-latest
111
+ name: Check committed C header
112
+ steps:
113
+ - uses: actions/checkout@v4
114
+
115
+ - name: install nightly toolchain
116
+ uses: dtolnay/rust-toolchain@nightly
117
118
+ - uses: dtolnay/install@master
119
+ with:
120
+ crate: cbindgen
121
+ - run: cmake -S bindings/c -B build -DACCESSKIT_BUILD_HEADERS=ON -DACCESSKIT_BUILD_LIBRARIES=OFF
122
+ - run: cmake --build build
123
+ - run: cmp build/accesskit.h bindings/c/include/accesskit.h
.github/workflows/generate-headers.yml
0 commit comments