generated from saji/ecp5-template
add gitea actions
This commit is contained in:
parent
d465fccaed
commit
32deb30c92
19
.gitea/workflows/test.yaml
Normal file
19
.gitea/workflows/test.yaml
Normal 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
|
Loading…
Reference in a new issue