From 6e4b8ee2e9aa4068d110fe7fb3646a900f3904dc Mon Sep 17 00:00:00 2001 From: Christopher Swenson Date: Mon, 25 Nov 2024 14:08:16 -0800 Subject: [PATCH] Change directory we build in --- .github/workflows/compliance.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml index e29983d..eae57db 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -14,8 +14,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: pwd - - run: echo $HOME - name: Install dependencies run: | sudo apt update && \ @@ -37,14 +35,15 @@ jobs: ../configure --prefix=/usr && \ make -j$(nproc) && \ sudo make install && \ - cd && \ + cd ../.. && \ opam init -a -y opam install -y sail export PATH="$PATH:/root/.opam/default/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 + sudo cp -r c_emulator/riscv_sim_RV32 /usr/bin && \ + cd .. - name: Install Rust tools run: rustup update - name: Checkout RISC-V tests