mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 13:11:31 +00:00
krata: rewrite all repo infrastructure
This commit is contained in:
10
.github/workflows/check.yml
vendored
10
.github/workflows/check.yml
vendored
@ -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
|
||||
|
2
.github/workflows/kernel.yml
vendored
2
.github/workflows/kernel.yml
vendored
@ -13,4 +13,4 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: ./scripts/ci/install-deps.sh
|
||||
- run: ./kernel/build.sh
|
||||
- run: ./scripts/kernel/build.sh -j5
|
||||
|
19
.github/workflows/nightly.yml
vendored
19
.github/workflows/nightly.yml
vendored
@ -2,7 +2,7 @@ name: nightly
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 6 * * *"
|
||||
- cron: "0 10 * * *"
|
||||
jobs:
|
||||
build:
|
||||
name: build
|
||||
@ -13,9 +13,20 @@ jobs:
|
||||
with:
|
||||
targets: "x86_64-unknown-linux-gnu,x86_64-unknown-linux-musl"
|
||||
- run: ./scripts/ci/install-deps.sh
|
||||
- run: ./scripts/bundle.sh
|
||||
- run: ./scripts/dist/bundle.sh
|
||||
env:
|
||||
KRATA_KERNEL_BUILD_JOBS: "5"
|
||||
- run: ./scripts/dist/deb.sh
|
||||
env:
|
||||
KRATA_BUNDLE_SKIP_KERNEL_BUILD: "1"
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: krata-nightly-x86_64
|
||||
path: target/bundle/krata.tgz
|
||||
name: krata-nightly-bundle-x86_64
|
||||
path: "target/dist/bundle.tgz"
|
||||
compression-level: 0
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: krata-nightly-debian-x86_64
|
||||
path: "target/dist/*_amd64.deb"
|
||||
compression-level: 0
|
||||
|
Reference in New Issue
Block a user