first commit

This commit is contained in:
2024-12-16 15:41:50 +01:00
commit d27b938371
4 changed files with 69 additions and 0 deletions

30
.gitea/build-kernel.yaml Normal file
View File

@@ -0,0 +1,30 @@
name: Build Custom Kernel
on:
push:
branches:
- master
jobs:
build-kernel:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Nix
run: |
curl -L https://nixos.org/nix/install | sh
source ~/.nix-profile/etc/profile.d/nix.sh
- name: Build custom kernel
run: |
export NIX_BUILD_CORES=0
nix-build '<nixpkgs/nixos>' -A config.system.build.kernel --arg configuration ./custom-kernel.nix
- name: Upload kernel artifacts
uses: actions/upload-artifact@v2
with:
name: custom-kernel
path: ./result