From ee38a3115251186381748d6b3a20768c727acc29 Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Sat, 14 Aug 2021 18:25:15 +1000 Subject: [PATCH] ci: Add verilator tests Now we have some verilator tests, add them to the CI. Signed-off-by: Anton Blanchard --- .github/workflows/test.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cb972de..28d0a13 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -93,3 +93,17 @@ jobs: steps: - uses: actions/checkout@v2 - run: make DOCKER=1 microwatt.v + + verilator: + runs-on: ubuntu-latest + env: + DOCKER: 1 + FPGA_TARGET: verilator + RAM_INIT_FILE: micropython/firmware.hex + MEMORY_SIZE: 524288 + steps: + - uses: actions/checkout@v2 + - run: | + sudo apt update + sudo apt install -y python3-pexpect + make -j$(nproc) test_micropython_verilator test_micropython_verilator_long