Skip to content

Commit d7b1e72

Browse files
Add build workflow
Closes #7
1 parent 6400d49 commit d7b1e72

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/build.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "Stoney kernel"
2+
on:
3+
push:
4+
branches: [ "main" ]
5+
workflow_dispatch:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Maximize build space
12+
uses: easimon/maximize-build-space@master
13+
with:
14+
root-reserve-mb: 5120
15+
swap-size-mb: 1024
16+
remove-dotnet: 'true'
17+
- name: Check out
18+
uses: actions/checkout@v3
19+
- name: Install dependencies
20+
run: sudo apt update; sudo apt install -y git build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison binutils
21+
- name: Build kernel
22+
run: bash build.sh
23+
- name: Upload build artifacts
24+
uses: actions/upload-artifact@v3
25+
with:
26+
name: stoney-kernel
27+
path: |
28+
build/kernel.tar.gz

0 commit comments

Comments
 (0)