groovylight/.gitea/workflows/test.yaml
saji 7c7ccf81fc
Some checks failed
Verilator Unit Tests / Test (push) Failing after 4m41s
use ninja instead
2024-05-23 00:43:33 -05:00

23 lines
558 B
YAML

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
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build Testbench Simulator
run: |
cmake -B build/ -GNinja
cmake --build build/
working-directory: ./sim
- name: Run Simulator
run: ./build/sim
working-directory: ./sim