add gitea actions

This commit is contained in:
saji 2024-05-23 00:33:20 -05:00
parent d465fccaed
commit 32deb30c92

View file

@ -0,0 +1,19 @@
name: Verilator Unit Tests
on: [push]
defaults:
run:
shell: nix develop --command bash {0}
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- run: |
cmake -B build/
cmake --build build/
working-directory: ./sim
- run: ./build/sim
working-directory: ./sim