diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml index 0ca7808..3fabcbe 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -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