Add UART module #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |