chore: makefile and CI test

This commit is contained in:
iff 2025-04-05 00:14:48 +02:00
parent 5a4ef05828
commit 4f637c1e1b
2 changed files with 27 additions and 4 deletions

29
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,29 @@
name: Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Caching
uses: Swatinem/rust-cache@v2
with:
key: build-and-test
- name: Build
run: cargo build --verbose
- name: Tests
run: make test