利用deepseek-R1对一堆文件添加了注释(已人工检查 #63
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: CI workflows | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
workflow_dispatch: | |
concurrency: | |
group: build | |
cancel-in-progress: false | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
env: | |
apt-packages: xorriso mtools nasm | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Cache apt packages | |
uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: ${{ env.apt-packages }} | |
- name: Install Dependencies | |
run: sudo apt-get install ${{ env.apt-packages }} -y | |
- name: Setup BuildTools | |
uses: xmake-io/github-action-setup-xmake@v1 | |
with: | |
xmake-version: latest | |
actions-cache-folder: .xmake-cache | |
package-cache: true | |
build-cache: true | |
project-path: . | |
- name: Build Kernel | |
run: xmake build -y | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: CoolPotOS | |
path: build/CoolPotOS.iso | |
compression-level: 9 |