update CI #21
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: Arch-Test | |
on: [push, pull_request] | |
# push: | |
# branches: | |
# - master | |
# pull_request: | |
# branches: | |
# - master | |
jobs: | |
model-testing: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
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 | |
- 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 install/bin >> $GITHUB_PATH | |
spike -h | |
- name: Build Sail | |
run: | | |
ci-tests/build-sail | |
echo c_emulator >>$GITHUB_PATH | |
riscv_sim_RV64 | |
riscv_sim_RV32 |