ci: Add verilator tests
authorAnton Blanchard <anton@linux.ibm.com>
Sat, 14 Aug 2021 08:25:15 +0000 (18:25 +1000)
committerAnton Blanchard <anton@ozlabs.org>
Sat, 14 Aug 2021 09:47:03 +0000 (19:47 +1000)
Now we have some verilator tests, add them to the CI.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
.github/workflows/test.yml

index cb972de4f64b138afe0fd7b352002a17d2ba6597..28d0a135a786bd1742e9c5e3e82c4b811ea1fa93 100644 (file)
@@ -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