File tree Expand file tree Collapse file tree 2 files changed +15
-27
lines changed Expand file tree Collapse file tree 2 files changed +15
-27
lines changed Original file line number Diff line number Diff line change @@ -106,5 +106,18 @@ jobs:
106
106
if : matrix.os == 'windows-2019'
107
107
run : cargo test -p accesskit_windows
108
108
109
- generate-headers :
110
- uses : AccessKit/accesskit/.github/workflows/generate-headers.yml@main
109
+ check-c-header :
110
+ 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
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments