From: Anton Blanchard Date: Sat, 14 Aug 2021 08:25:15 +0000 (+1000) Subject: ci: Add verilator tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee38a3115251186381748d6b3a20768c727acc29;p=microwatt.git ci: Add verilator tests Now we have some verilator tests, add them to the CI. Signed-off-by: Anton Blanchard --- 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