From ed6dadff094d6c1c21fe35759848ca15f8130073 Mon Sep 17 00:00:00 2001 From: VincentWu <43398706+Xinlong-Wu@users.noreply.github.com> Date: Mon, 18 Dec 2023 20:49:57 +0800 Subject: [PATCH] Update jit-riscv64.yml --- .github/workflows/jit-riscv64.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/jit-riscv64.yml b/.github/workflows/jit-riscv64.yml index fc1570c327770..c38ed56176c33 100644 --- a/.github/workflows/jit-riscv64.yml +++ b/.github/workflows/jit-riscv64.yml @@ -12,21 +12,22 @@ jobs: ROOTFS_DIR: /crossrootfs/riscv64 QEMU_LD_PREFIX: /crossrootfs/riscv64 steps: - - name: check current path - run: | - bash -c ls -la + - name: Checkout + uses: actions/checkout@v2 - name: Cross Build # ./build.sh mono+libs+host+clr.hosts -c Debug --cross --arch riscv64 --ninja /p:KeepNativeSymbols=true --build - run: bash -c ./build.sh mono+libs+host+clr.hosts -c Release --cross --arch riscv64 --ci + run: ./build.sh mono+libs+host+clr.hosts -c Release --cross --arch riscv64 --ci + working-directory: ./runtime - name: Build Tests programs - run: | - cd src/tests && bash -c ./build.sh -mono -debug riscv64 -ninja -tree:JIT/ --ci + run: ./build.sh -mono -debug riscv64 -ninja -tree:JIT/ --ci + working-directory: ./runtime/src/tests # upload entire project - name: Upload Artifacts uses: actions/upload-artifact@v2 with: name: jit-riscv64 path: ./ + working-directory: ./runtime test: runs-on: ubuntu-latest @@ -42,6 +43,6 @@ jobs: with: name: jit-riscv64 - name: Run tests - run: | - cd src/tests && bash -c ./run.sh Release + run: bash -c ./run.sh Release + working-directory: ./runtime/src/tests