Skip to content

Commit

Permalink
Add GitHub workflow configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
alanjian85 committed Mar 27, 2024
1 parent 9d3dab5 commit 808a0c3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get install gcc-riscv64-unknown-elf
- name: Make
run: make CROSS_PREFIX=riscv64-unknown-elf-
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: kernel.elf
path: build/kernel.elf

0 comments on commit 808a0c3

Please sign in to comment.