Ver Fonte

Add missing dependency in CI

徐启航 há 1 ano atrás
pai
commit
ecb9903df9
1 ficheiros alterados com 9 adições e 2 exclusões
  1. 9 2
      .github/workflows/ci.yml

+ 9 - 2
.github/workflows/ci.yml

@@ -16,8 +16,8 @@ jobs:
     steps:
       - uses: actions/checkout@v3
 
-      - name: Install nasm
-        run: sudo apt install nasm
+      - name: Install nasm and qemu-utils
+        run: sudo apt install nasm qemu-utils
 
       - name: Cache LLVM
         id: cache-llvm
@@ -33,5 +33,12 @@ jobs:
           directory: ../llvm
           cached: ${{ steps.cache-llvm.output.cache-hit }}
 
+      - name: Cache cargo crates
+        id: cache-cargo
+        uses: actions/cache@v3
+        with:
+          path: ~/.cargo/registry
+          key: cargo-crate
+
       - name: Build
         run: cargo xtask dist --release img