Files
matar/.github/workflows/main.yml
Amneesh Singh 3cf5cbd024 refactor: make linter happy
also add a few unused coprocessor instructions

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-14 01:19:41 +05:30

29 lines
693 B
YAML

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