mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 05:10:55 +00:00
33 lines
631 B
YAML
33 lines
631 B
YAML
name: kernel
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "kernel/**"
|
|
- "hack/ci/**"
|
|
merge_group:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
arch:
|
|
- x86_64
|
|
- aarch64
|
|
env:
|
|
TARGET_ARCH: "${{ matrix.arch }}"
|
|
name: kernel build ${{ matrix.arch }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
- run: ./hack/ci/install-linux-deps.sh
|
|
- run: ./hack/kernel/build.sh
|
|
env:
|
|
KRATA_KERNEL_BUILD_JOBS: "5"
|