From 64a74ae9b2e506408ee46dd9c79d058e91dd6bcf Mon Sep 17 00:00:00 2001 From: MrMasterKeyboard <73440604+AFellowSpeedrunner@users.noreply.github.com> Date: Thu, 11 Jul 2024 21:42:29 +0100 Subject: [PATCH] Update buildkern.yml --- .github/workflows/buildkern.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildkern.yml b/.github/workflows/buildkern.yml index dc47b42..9cb43d0 100644 --- a/.github/workflows/buildkern.yml +++ b/.github/workflows/buildkern.yml @@ -1,4 +1,4 @@ -name: Build kernel +name: Build and push latest kernel compile on: push: @@ -17,9 +17,19 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install rust nightly, default it, add target, add src to nightly unknown and install llvm-tools-preview in rustup - run: rustup toolchain install nightly && rustup default nightly && cd LUM && rustup target add x86_64-unknown-none && rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu && rustup component add llvm-tools-preview + run: | rustup toolchain install nightly + rustup default nightly + cd LUM + rustup target add x86_64-unknown-none + rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu + rustup component add llvm-tools-preview - name: Install bootimage run: cargo install bootimage - name: Build LUM run: cd LUM && cargo bootimage + - name: Upload compiled kernel + uses: actions/upload-artifact@v3 + with: + name: latest + path: LUM/target/x86_64-unknown-none/debug/bootimage-LUM.bin