Browse Source

Add workflow for automating kernel build

This change automates kernel builds on our self-hosted runner.
Fabian Mastenbroek 5 years ago
parent
commit
bd2f30a978
2 changed files with 27 additions and 0 deletions
  1. 25 0
      .github/workflows/build.yml
  2. 2 0
      README.md

+ 25 - 0
.github/workflows/build.yml

@@ -0,0 +1,25 @@
+name: Kernel Build
+
+on:
+  push:
+    branches: [master]
+    tags:
+        - release/*
+
+jobs:
+  build:
+    runs-on: [self-hosted]
+    steps:
+    - name: Checkout Sources
+      uses: actions/checkout@v2
+      with:
+          clean: false # Re-use artifacts from previous build
+          submodules: recursive
+    - name: Build Kernel
+      run: make
+    - name: Upload Artifacts
+      uses: actions/upload-artifact@v2-preview
+      with:
+        name: debs
+        path: "*.deb"
+

+ 2 - 0
README.md

@@ -0,0 +1,2 @@
+# Proxmox Edge kernels
+Custom Linux kernels for Promox VE 6.