Download tapeout/.github/workflows/test.yaml from Snapkitty/bit-string-accelerator: direct link, hf CLI and curl.
- Browser
- Download file 974 Bytes
-
https://huggingface.co/Snapkitty/bit-string-accelerator/resolve/main/tapeout/.github/workflows/test.yaml
- Command line
-
hf download hf://Snapkitty/bit-string-accelerator/tapeout/.github/workflows/test.yaml
-
curl -L -o test.yaml https://huggingface.co/Snapkitty/bit-string-accelerator/resolve/main/tapeout/.github/workflows/test.yaml
974 Bytes
| name: test | |
| on: [push, workflow_dispatch] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Install iverilog | |
| shell: bash | |
| run: sudo apt-get update && sudo apt-get install -y iverilog | |
| # The testbench is plain SystemVerilog (no cocotb); test/Makefile writes | |
| # results.xml and exits non-zero on any failure. | |
| - name: Run tests (divisor pins d=2, then default divisor) | |
| run: | | |
| cd test | |
| make clean | |
| make | |
| ! grep -E '<(failure|error)' results.xml | |
| make TB_DEFINES=-DTT_DEFAULT_BAUD | |
| ! grep -E '<(failure|error)' results.xml | |
| - name: upload test results | |
| if: success() || failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: test-results | |
| path: | | |
| test/results.xml | |
| test/sim_build/*/sim.log | |