mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 05:10:55 +00:00
workflows: initrd and kernel checks
This commit is contained in:
10
.github/workflows/check.yml
vendored
10
.github/workflows/check.yml
vendored
@ -37,3 +37,13 @@ jobs:
|
|||||||
components: rustfmt
|
components: rustfmt
|
||||||
- run: ./scripts/ci/install-deps.sh
|
- run: ./scripts/ci/install-deps.sh
|
||||||
- run: ./scripts/cargo.sh fmt --all -- --check
|
- run: ./scripts/cargo.sh fmt --all -- --check
|
||||||
|
initrd:
|
||||||
|
name: initrd
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
targets: "x86_64-unknown-linux-gnu,x86_64-unknown-linux-musl"
|
||||||
|
- run: ./scripts/ci/install-deps.sh
|
||||||
|
- run: ./initrd/build.sh
|
||||||
|
16
.github/workflows/kernel.yml
vendored
Normal file
16
.github/workflows/kernel.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
name: kernel
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- "kernel/**"
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- "kernel/**"
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- run: ./scripts/ci/install-deps.sh
|
||||||
|
- run: ./kernel/build.sh
|
Reference in New Issue
Block a user