krata: rewrite all repo infrastructure

This commit is contained in:
Alex Zenla
2024-03-07 09:04:05 +00:00
parent baefe0dceb
commit 670e140682
39 changed files with 419 additions and 181 deletions

View File

@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: ./scripts/ci/install-deps.sh
- run: ./scripts/cargo.sh build
- run: ./scripts/build/cargo.sh build
test:
name: cargo test
runs-on: ubuntu-latest
@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: ./scripts/ci/install-deps.sh
- run: ./scripts/cargo.sh test
- run: ./scripts/build/cargo.sh test
clippy:
name: cargo clippy
runs-on: ubuntu-latest
@ -26,7 +26,7 @@ jobs:
with:
components: clippy
- run: ./scripts/ci/install-deps.sh
- run: ./scripts/cargo.sh clippy
- run: ./scripts/build/cargo.sh clippy
fmt:
name: cargo fmt
runs-on: ubuntu-latest
@ -36,7 +36,7 @@ jobs:
with:
components: rustfmt
- run: ./scripts/ci/install-deps.sh
- run: ./scripts/cargo.sh fmt --all -- --check
- run: ./scripts/build/cargo.sh fmt --all -- --check
initrd:
name: initrd
runs-on: ubuntu-latest
@ -46,4 +46,4 @@ jobs:
with:
targets: "x86_64-unknown-linux-gnu,x86_64-unknown-linux-musl"
- run: ./scripts/ci/install-deps.sh
- run: ./initrd/build.sh
- run: ./scripts/initrd/build.sh