groovylight/.gitea/workflows/test.yaml

23 lines
563 B
YAML
Raw Permalink Normal View History

2024-05-23 05:33:20 +00:00
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
2024-05-23 05:36:53 +00:00
- uses: DeterminateSystems/magic-nix-cache-action@main
2024-05-23 05:43:33 +00:00
- name: Build Testbench Simulator
run: |
cmake -B build/ -GNinja
2024-05-23 05:33:20 +00:00
cmake --build build/
working-directory: ./sim
2024-05-23 05:43:33 +00:00
- name: Run Simulator
2024-05-25 17:16:18 +00:00
run: ./build/sim_test
2024-05-23 05:33:20 +00:00
working-directory: ./sim