This commit is contained in:
1 parent
87441c6f77
commit
8f4dbf9b9d
1 file changed
+9
-2
@@ -15,13 +15,20 @@ jobs:
|
||||
|
||||
- name: Set up Nix
|
||||
run: |
|
||||
curl -L https://nixos.org/nix/install | sh
|
||||
source ~/.nix-profile/etc/profile.d/nix.sh
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y \
|
||||
curl \
|
||||
git \
|
||||
xz-utils \
|
||||
ca-certificates
|
||||
curl -L https://nixos.org/nix/install | sh -s -- --daemon
|
||||
|
||||
- name: Build custom kernel
|
||||
run: |
|
||||
export NIX_BUILD_CORES=0
|
||||
nix-build '<nixpkgs/nixos>' -A config.system.build.kernel --arg configuration ./custom-kernel.nix
|
||||
env:
|
||||
PATH: /nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/bin:/sbin:/usr/bin:/usr/sbin
|
||||
|
||||
- name: Upload kernel artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in new issue
Block a user