Skip to content

update kernel outputs #8

update kernel outputs

update kernel outputs #8

Workflow file for this run

name: "Run Checks"
on:
workflow_dispatch: {}
pull_request:
branches:
- main
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
experimental-features = nix-command flakes
extra-platforms = aarch64-linux
- run: |
nix fmt .
git diff-files --quiet || (git -P diff; echo -e "\nNOT FORMATTED: run 'nix fmt .'"; false)
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
experimental-features = nix-command flakes
extra-platforms = aarch64-linux
- run: |
nix flake check --override-input rockchip .. --keep-going
build_example:
needs: fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
DEBIAN_FRONTEND=noninteractive
sudo apt-get update -q -y && sudo apt-get install -q -y qemu-system-aarch64 qemu-efi binfmt-support qemu-user-static
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
experimental-features = nix-command flakes
extra-platforms = aarch64-linux
- uses: cachix/cachix-action@v12
with:
name: nabam-nixos-rockchip
- working-directory: ./example
run: |
nix build -L -j4 --accept-flake-config --override-input rockchip ..
build_packages:
needs: fmt
strategy:
matrix:
package:
- kernel_linux_6_1_rockchip.kernel
- kernel_linux_6_6_rockchip.kernel
- kernel_linux_6_6_pinetab.kernel
- uBootRock64
- uBootRockPro64
- uBootPinebookPro
- uBootROCPCRK3399
- uBootPineTab2
- uBootQuartz64A
- uBootQuartz64B
- uBootSoQuartzModelA
- uBootSoQuartzCM4IO
- uBootSoQuartzBlade
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
DEBIAN_FRONTEND=noninteractive
sudo apt-get update -q -y && sudo apt-get install -q -y qemu-system-aarch64 qemu-efi binfmt-support qemu-user-static
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
experimental-features = nix-command flakes
extra-platforms = aarch64-linux
- uses: cachix/cachix-action@v12
with:
name: nabam-nixos-rockchip
- run: |
nix build -L -j4 .#${{ matrix.package }}