From 7c6b58d8b31ef77835eeb93dfe87e1bae28f5820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Mon, 11 Sep 2023 14:39:23 +0200 Subject: [PATCH] ci: install kernel toolchain 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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4af80c298d..9417c71377 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -134,6 +134,9 @@ jobs: sudo apt-get update sudo apt-get install qemu-system-x86 nasm libcap-ng-dev libseccomp-dev socat - uses: mkroening/rust-toolchain-toml@main + - uses: mkroening/rust-toolchain-toml@main + with: + toolchain-file: 'kernel/rust-toolchain.toml' - uses: Swatinem/rust-cache@v2 with: workspaces: | @@ -289,6 +292,9 @@ jobs: repo: hermitcore/rusty-loader file: rusty-loader-aarch64 - uses: mkroening/rust-toolchain-toml@main + - uses: mkroening/rust-toolchain-toml@main + with: + toolchain-file: 'kernel/rust-toolchain.toml' - name: Install QEMU run: | sudo apt-get update @@ -391,6 +397,9 @@ jobs: - uses: dtolnay/rust-toolchain@stable - run: cargo install uhyve - uses: mkroening/rust-toolchain-toml@main + - uses: mkroening/rust-toolchain-toml@main + with: + toolchain-file: 'kernel/rust-toolchain.toml' - uses: Swatinem/rust-cache@v2 - name: Build dev profile run: cargo build -Zbuild-std=std,panic_abort --package rusty_demo --target x86_64-unknown-hermit