Skip to content

Update docs.yaml & gds.yaml. #94

Update docs.yaml & gds.yaml.

Update docs.yaml & gds.yaml. #94

Workflow file for this run

name: test
on: [push, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-24.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install iverilog
shell: bash
run: sudo apt-get update && sudo apt-get install -y iverilog
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 25
- name: Install Mill
run: |
curl -L https://repo1.maven.org/maven2/com/lihaoyi/mill-dist/1.0.6/mill-dist-1.0.6-mill.sh -o mill
chmod +x mill
mv mill /usr/local/bin
- name: Generate SystemVerilog
shell: bash
env:
MILL_NO_SERVER: "true"
run: make arch_generate_verilog
# Set Python up and install cocotb
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Python packages
shell: bash
run: pip install -r test/requirements.txt
- name: Run tests
run: |
cd test
make clean
make
# make will return success even if the test fails, so check for failure in the results.xml
! grep failure results.xml
- name: Test Summary
uses: test-summary/action@v2.3
with:
paths: "test/results.xml"
if: always()
- name: upload waveform and test results
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: test-results
path: |
test/tb.fst
test/results.xml
test/output/*