Skip to content

feat: Initialize the basic implementation #2

feat: Initialize the basic implementation

feat: Initialize the basic implementation #2

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
cross_compile_tests:
runs-on: ubuntu-22.04
steps:
- name: checkout code
uses: actions/[email protected]
- name: setup riscv toolchain
run: |
mkdir /opt/riscv
export PATH=$PATH:/opt/riscv/bin
wget https://github.com/howjmay/prebuilt-riscv-spike/releases/download/latest/riscv.tar.gz
sudo tar -xzf riscv.tar.gz -C /opt/
- name: run tests
run: |
export PATH=$PATH:/opt/riscv/bin
export SIMULATOR_TYPE=qemu
export ENABLE_TEST_ALL=true
sh scripts/cross-test.sh