Skip to content

Commit

Permalink
Add workflow for kernel compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
lutoma committed Nov 11, 2023
1 parent 5fe6a8a commit 94e0c22
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/kernel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Kernel binary build

on:
push:
branches:
- main

paths:
- 'src/**'
- 'ext/**'
- 'Makefile.static'
- 'configure'
- '.github/workflows/kernel.yml'

jobs:
kernel:
runs-on: ubuntu-latest
container:
image: ghcr.io/lutoma/xelix/toolchain:latest
volumes:
- .:/src

steps:
- name: Check out git repository
uses: actions/checkout@v4

- name: Configure sources
run: ./configure

- name: Compile kernel
run: make

- name: Upload binary artifact
uses: actions/upload-artifact@v3
with:
name: kernel-binary
path: xelix.bin

0 comments on commit 94e0c22

Please sign in to comment.