groovylight/.gitea/workflows/test.yaml
saji fdca36f9ce
Some checks failed
Verilator Unit Tests / Test (push) Failing after 9m4s
add nix caching
2024-05-23 00:36:53 -05:00

21 lines
482 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
- run: |
cmake -B build/
cmake --build build/
working-directory: ./sim
- run: ./build/sim
working-directory: ./sim