Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Move the language bindings to standalone repositories #442

Merged
merged 1 commit into from
Jul 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
200 changes: 0 additions & 200 deletions .clang-format

This file was deleted.

103 changes: 0 additions & 103 deletions .github/workflows/c-bindings.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,6 @@ jobs:
- name: cargo fmt
run: cargo fmt --all -- --check

- name: clang-format
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: 15
check-path: bindings/c

- name: ruff format
uses: chartboost/ruff-action@v1
with:
args: format --check

- name: ruff check
uses: chartboost/ruff-action@v1

cargo-deny:
runs-on: ubuntu-22.04
steps:
Expand All @@ -56,11 +42,6 @@ jobs:
with:
components: clippy

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.8'

- name: restore cache
uses: Swatinem/rust-cache@v2

Expand Down Expand Up @@ -91,11 +72,6 @@ jobs:
with:
toolchain: ${{ needs.find-msrv.outputs.version }}

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.8'

- name: restore cache
uses: Swatinem/rust-cache@v2

Expand All @@ -105,19 +81,3 @@ jobs:
- name: cargo test -p accesskit_windows
if: matrix.os == 'windows-2019'
run: cargo test -p accesskit_windows

check-c-header:
runs-on: ubuntu-latest
name: Check committed C header
steps:
- uses: actions/checkout@v4

- name: install nightly toolchain
uses: dtolnay/rust-toolchain@nightly

- uses: dtolnay/install@master
with:
crate: cbindgen
- run: cmake -S bindings/c -B build -DACCESSKIT_BUILD_HEADERS=ON -DACCESSKIT_BUILD_LIBRARIES=OFF
- run: cmake --build build
- run: cmp build/accesskit.h bindings/c/include/accesskit.h
Loading
Loading