Skip to content

CI

CI #23

Workflow file for this run

name: Arch-Test
on: [push, pull_request]
# push:
# branches:
# - master
# pull_request:
# branches:
# - master
jobs:
model-testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Dependencies
run: |
sudo xargs apt-get install -y < .github/workflows/apt-packages.txt
pip3 install git+https://github.com/riscv/riscof.git
wget -c https://github.com/riscv-collab/riscv-gnu-toolchain/releases/download/2024.02.02/riscv64-elf-ubuntu-22.04-gcc-nightly-2024.02.02-nightly.tar.gz
tar -xzf riscv64-elf-ubuntu-22.04-gcc-nightly-2024.02.02-nightly.tar.gz
echo $GITHUB_WORKSPACE/riscv/bin >> $GITHUB_PATH
echo "check path before spike"
echo "{path}" >> $GITHUB_PATH
- name: Build spike
run: |
ci-tests/build-spike
echo "what is in root"
ls
echo "what is in install"
ls install/
echo "what is in bin"
ls install/bin
echo "{path}" >> $GITHUB_PATH
echo $GITHUB_WORKSPACE/install/bin >> $GITHUB_PATH
echo "check path after spike"
echo "{path}" >> $GITHUB_PATH
spike -h
- name: Build Sail
run: |
ci-tests/build-sail
echo c_emulator >>$GITHUB_PATH
riscv_sim_RV64
riscv_sim_RV32