修复缓冲队列未初始化造成键盘驱动崩溃的BUG #27
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: Xmake on multiple platforms | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install packages | |
uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: xorriso mtools nasm | |
version: 1.0 | |
- name: Setup BuildTools | |
uses: xmake-io/github-action-setup-xmake@v1 | |
with: | |
xmake-version: latest | |
actions-cache-folder: '.xmake-cache' | |
- name: Build Kernel | |
run: xmake build -y | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: MdrOS | |
path: build/mdros.iso | |
compression-level: 9 |