修复 procfs 错误处理偏移导致读取异常的问题, 新增 statfs 系统调用. #567
This file contains hidden or 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 Workflow | |
| on: | |
| push: | |
| branches: [ "rebuild" ] | |
| paths-ignore: | |
| - 'readme' | |
| - '.gitignore' | |
| - 'README.md' | |
| pull_request: | |
| branches: [ "rebuild" ] | |
| paths-ignore: | |
| - 'readme' | |
| - '.gitignore' | |
| - 'README.md' | |
| jobs: | |
| x86_64: | |
| runs-on: ubuntu-latest | |
| name: x86_64 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install packages | |
| uses: awalsh128/cache-apt-pkgs-action@latest | |
| with: | |
| packages: xorriso clang mtools lld openssl python3 cmake | |
| version: 1.0 | |
| - name: Configure CMake | |
| run: | | |
| cmake -S . -B build/ \ | |
| -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ | |
| -DCMAKE_BUILD_TYPE=Release \ | |
| -DTARGET_ARCH=x86_64 | |
| - name: Build CPOS x86_64 | |
| run: | | |
| cmake --build build/ --target run -j 12 | |
| - name: Upload CoolPotOS-x86_64 ISO | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: CoolPotOS-x86_64 (ISO) | |
| path: build/CoolPotOS.iso | |
| compression-level: 9 | |
| riscv64: | |
| runs-on: ubuntu-latest | |
| name: riscv64 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install packages | |
| uses: awalsh128/cache-apt-pkgs-action@latest | |
| with: | |
| packages: xorriso clang mtools lld openssl python3 cmake | |
| version: 1.0 | |
| - name: Configure CMake | |
| run: | | |
| cmake -S . -B build/ \ | |
| -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ | |
| -DCMAKE_BUILD_TYPE=Release \ | |
| -DTARGET_ARCH=riscv64 | |
| - name: Build CPOS riscv64 | |
| run: | | |
| cmake --build build/ --target run -j 12 | |
| - name: Upload CoolPotOS-riscv64 kernel | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: CoolPotOS-riscv64 (kernel) | |
| path: build/cpkrnl_rv64.elf | |
| compression-level: 9 |