Skip to content

Commit

Permalink
ci: add task for cargo-c.
Browse files Browse the repository at this point in the history
This will prevent bitrot with the cargo-c support.
  • Loading branch information
cpu committed Aug 2, 2023
1 parent 30fec23 commit 70bc392
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test.yaml
Expand Up @@ -218,6 +218,21 @@ jobs:
- name: Clang tidy
run: clang-tidy tests/*.c -- -I src/

cargo-c:
name: cargo-c
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Install cargo-c
run: cargo install cargo-c
- name: Build and test with cargo-c
run: cargo ctest

miri:
name: Miri
runs-on: ubuntu-latest
Expand Down

0 comments on commit 70bc392

Please sign in to comment.