Skip to content

Commit 553d9c1

Browse files
authored
chore: Move the language bindings to standalone repositories (#442)
1 parent 552032c commit 553d9c1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+4
-9072
lines changed

.clang-format

Lines changed: 0 additions & 200 deletions
This file was deleted.

.github/workflows/c-bindings.yml

Lines changed: 0 additions & 103 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,6 @@ jobs:
2222
- name: cargo fmt
2323
run: cargo fmt --all -- --check
2424

25-
- name: clang-format
26-
uses: jidicula/[email protected]
27-
with:
28-
clang-format-version: 15
29-
check-path: bindings/c
30-
31-
- name: ruff format
32-
uses: chartboost/ruff-action@v1
33-
with:
34-
args: format --check
35-
36-
- name: ruff check
37-
uses: chartboost/ruff-action@v1
38-
3925
cargo-deny:
4026
runs-on: ubuntu-22.04
4127
steps:
@@ -56,11 +42,6 @@ jobs:
5642
with:
5743
components: clippy
5844

59-
- name: Setup Python
60-
uses: actions/setup-python@v5
61-
with:
62-
python-version: '3.8'
63-
6445
- name: restore cache
6546
uses: Swatinem/rust-cache@v2
6647

@@ -91,11 +72,6 @@ jobs:
9172
with:
9273
toolchain: ${{ needs.find-msrv.outputs.version }}
9374

94-
- name: Setup Python
95-
uses: actions/setup-python@v5
96-
with:
97-
python-version: '3.8'
98-
9975
- name: restore cache
10076
uses: Swatinem/rust-cache@v2
10177

@@ -105,19 +81,3 @@ jobs:
10581
- name: cargo test -p accesskit_windows
10682
if: matrix.os == 'windows-2019'
10783
run: cargo test -p accesskit_windows
108-
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

0 commit comments

Comments
 (0)