From e8829516daec1327a921eed4a1ec9486360c3774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Tue, 5 Sep 2023 17:14:27 +0200 Subject: [PATCH] ci: cache the kernel workspace too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3dd7a72fa7..2c0b756c37 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -135,6 +135,10 @@ jobs: sudo apt-get install qemu-system-x86 nasm libcap-ng-dev libseccomp-dev socat - uses: mkroening/rust-toolchain-toml@main - uses: Swatinem/rust-cache@v2 + with: + workspaces: | + . + kernel - name: Build dev profile run: cargo build -Zbuild-std=std,panic_abort --package rusty_demo --target x86_64-unknown-hermit --features pci-ids - name: Download loader @@ -297,6 +301,10 @@ jobs: sudo apt-get update sudo apt-get install qemu-system-aarch64 - uses: Swatinem/rust-cache@v2 + with: + workspaces: | + . + kernel - name: Build dev profile run: cargo build -Zbuild-std=std,panic_abort --target aarch64-unknown-hermit --package rusty_demo --features pci-ids - name: Test dev kernel