summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/greeneye.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/greeneye.yml b/.github/workflows/greeneye.yml
new file mode 100644
index 0000000..9e67892
--- /dev/null
+++ b/.github/workflows/greeneye.yml
@@ -0,0 +1,34 @@
+# green-eye harness CI: build the SDK/demo and run the tool test suite.
+# Local simulator only: no secrets, no hardware, no guest, no kernel module.
+name: green-eye
+
+on:
+ push:
+ paths:
+ - 'debug/risc-v-gsp-rm-vm/**'
+ - 'tools/rm*/**'
+ pull_request:
+ paths:
+ - 'debug/risc-v-gsp-rm-vm/**'
+ - 'tools/rm*/**'
+
+jobs:
+ harness:
+ name: green-eye tests
+ runs-on: ubuntu-latest
+ timeout-minutes: 30
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ - name: Install toolchain
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y qemu-system-misc clang lld-18
+
+ - name: Build SDK and demo
+ run: make -C debug/risc-v-gsp-rm-vm sdk demo
+
+ - name: Run unit tests
+ working-directory: debug/risc-v-gsp-rm-vm
+ run: python3 -m unittest discover -s tests -t .