瀏覽代碼

Merge #77

77: use --target for CI checks r=Disasm a=almindor



Co-authored-by: Ales Katona <ales@katona.me>
bors[bot] 3 年之前
父節點
當前提交
142f91d1a7
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      riscv-rt/.github/workflows/ci.yaml

+ 3 - 3
riscv-rt/.github/workflows/ci.yaml

@@ -31,10 +31,10 @@ jobs:
       - name: Install riscv gcc
         run: sudo apt-get update && sudo apt-get install -y gcc-riscv64-unknown-elf
       - name: Run CI script for riscv32imac-unknown-none-elf under ${{ matrix.rust }}
-        run: TARGET=riscv32imac-unknown-none-elf cargo check
+        run: cargo check --target riscv32imac-unknown-none-elf
       - name: Run CI script for riscv64imac-unknown-none-elf under ${{ matrix.rust }}
-        run: TARGET=riscv64imac-unknown-none-elf cargo check
+        run: cargo check --target riscv64imac-unknown-none-elf
       - name: Run CI script for riscv64gc-unknown-none-elf under ${{ matrix.rust }}
-        run: TARGET=riscv64gc-unknown-none-elf cargo check
+        run: cargo check --target riscv64gc-unknown-none-elf
       - name: Check blobs
         run: ./check-blobs.sh