feat: Initialize the basic implementation #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |