Skip to content

Commit

Permalink
Move clang-format to c-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
lmbollen committed Jan 8, 2025
1 parent b56441b commit fb15959
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
args: --target riscv32imc-unknown-none-elf --all-features

- name: clang-format check
uses: jidicula/[email protected]
with:
clang-format-version: 14
check-path: .

rust-build-programs:
name: Build Programs
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -107,6 +101,26 @@ jobs:
name: vexriscv-test-binaries
path: clash-vexriscv-sim/vexriscv-test-binaries.tar

c-checks:
name: C checks
runs-on: ubuntu-22.04
container:
image: ubuntu:22.04

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: |
apt-get update
apt-get install -y clang clang-format
- name: clang-format check
uses: jidicula/[email protected]
with:
clang-format-version: 14
check-path: 'clash-vexriscv'

vex-riscv:
name: VexRiscv integration
Expand Down

0 comments on commit fb15959

Please sign in to comment.