Skip to content

Commit

Permalink
We do need backslashes
Browse files Browse the repository at this point in the history
  • Loading branch information
swenson committed Nov 25, 2024
1 parent 39ee883 commit 35475cb
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,39 +16,38 @@ jobs:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt update &&
sudo apt install -y
device-tree-compiler
gcc-multilib
gcc-riscv64-unknown-elf
sudo apt update && \
sudo apt install -y \
device-tree-compiler \
gcc-multilib \
gcc-riscv64-unknown-elf \
opam
- name: Install RISC-V Python tools
run: |
sudo rm -f /usr/lib/python3.10/EXTERNALLY-MANAGED &&
pip install git+https://github.com/riscv/riscv-isac.git@dev &&
sudo rm -f /usr/lib/python3.10/EXTERNALLY-MANAGED && \
pip install git+https://github.com/riscv/riscv-isac.git@dev && \
pip install git+https://github.com/riscv/riscof.git
- name: Install riscv-isa-sim
run: |
git clone https://github.com/riscv-software-src/riscv-isa-sim.git &&
cd riscv-isa-sim &&
mkdir build &&
cd build &&
../configure --prefix=/usr &&
make -j$(nproc) &&
sudo make install &&
git clone https://github.com/riscv-software-src/riscv-isa-sim.git && \
cd riscv-isa-sim && \
mkdir build && \
cd build && \
../configure --prefix=/usr && \
make -j$(nproc) && \
sudo make install && \
cd ../..
- name: Install Sail
run: |
opam init -a -y &&
opam install -y sail &&
opam init -a -y && \
opam install -y sail && \
echo "$HOME/.opam/default/bin" >> "$GITHUB_PATH"
- name: Install Sail RISC-V
run: |
git clone https://github.com/riscv/sail-riscv.git &&
cd sail-riscv &&
make c_emulator/riscv_sim_RV32 ARCH=32 -j$(nproc) &&
sudo cp -r c_emulator/riscv_sim_RV32 /usr/bin &&
git clone https://github.com/riscv/sail-riscv.git && \
cd sail-riscv && \
make c_emulator/riscv_sim_RV32 ARCH=32 -j$(nproc) && \
sudo cp -r c_emulator/riscv_sim_RV32 /usr/bin && \
cd ..
- name: Install Rust tools
run: rustup update
Expand Down

0 comments on commit 35475cb

Please sign in to comment.