Переглянути джерело

use --target in CI checks

Ales Katona 3 роки тому
батько
коміт
b09df02d38
1 змінених файлів з 4 додано та 4 видалено
  1. 4 4
      .github/workflows/ci.yaml

+ 4 - 4
.github/workflows/ci.yaml

@@ -31,13 +31,13 @@ jobs:
       - name: Install riscv gcc
         run: sudo apt-get update && sudo apt-get install -y gcc-riscv64-unknown-elf
       - name: Run CI script for x86_64-unknown-linux-gnu under ${{ matrix.rust }}
-        run: TARGET=x86_64-unknown-linux-gnu cargo check
+        run: cargo check --target x86_64-unknown-linux-gnu
       - 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