Skip to content

Commit

Permalink
Add build workflow
Browse files Browse the repository at this point in the history
Closes #7
  • Loading branch information
WeirdTreeThing committed Jul 31, 2024
1 parent 6400d49 commit d7b1e72
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Stoney kernel"
on:
push:
branches: [ "main" ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 5120
swap-size-mb: 1024
remove-dotnet: 'true'
- name: Check out
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt update; sudo apt install -y git build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison binutils
- name: Build kernel
run: bash build.sh
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: stoney-kernel
path: |
build/kernel.tar.gz

0 comments on commit d7b1e72

Please sign in to comment.