diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index fac044c..c32d9d1 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -37,3 +37,13 @@ jobs: components: rustfmt - run: ./scripts/ci/install-deps.sh - 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 diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml new file mode 100644 index 0000000..2534ce5 --- /dev/null +++ b/.github/workflows/kernel.yml @@ -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