refactor: make linter happy

also add a few unused coprocessor instructions

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-09-14 01:07:41 +05:30
parent 387f3c8f07
commit 3cf5cbd024
19 changed files with 394 additions and 240 deletions

28
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: matar
on: [push, pull_request, workflow_dispatch]
env:
BUILDDIR: build
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
extra_nix_config: |
auto-optimise-store = true
experimental-features = nix-command flakes
- name: meson build
run: nix develop -c meson setup $BUILDDIR
- name: clang-format check
run: nix develop -c ninja clang-format-check -C $BUILDDIR
- name: clang-tidy check
run: nix develop -c ninja clang-tidy -C $BUILDDIR
- name: ninja compile
run: nix develop -c ninja -C $BUILDDIR