Skip to content

Cleaned up FAT32 code, Fixed github workflows and now it automaticall… #493

Cleaned up FAT32 code, Fixed github workflows and now it automaticall…

Cleaned up FAT32 code, Fixed github workflows and now it automaticall… #493

Workflow file for this run

name: Frosted Workflow
on: [push, pull_request]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
name: FrostWing
steps:
- uses: actions/checkout@v1
- name: Update packages
run: sudo apt update
- name: Install other dependencies
run: sudo apt install -y make bison flex texinfo nasm mtools wget tar binutils build-essential doxygen git jq curl qemu-system-x86 xorriso
- name: Build Doxygen Documentations
run: doxygen
- name: Obtain the Limine Bootloader
run: git clone https://github.com/limine-bootloader/limine.git --branch=v6.x-branch-binary --depth=1
- name: Build the Limine Bootloader
run: make -C limine
- name: Build The Operating System itself
run: cd source && ./versions.sh && make -j4 clean && cd ../ && make -j4 -C source && make -j4
- name: Run the QEMU Emulator
run: make run-x86-vnc &
- name: Waiting for the QEMU to start
run: sleep 5s
- name: Stop QEMU and VNC
run: sudo pkill qemu
- name: Generate hashes
run: |
sha256sum FrostWing.iso FrostWing.iso.tar.gz > sha256sums
- name: Create Release and Upload ISO
if: github.ref == 'refs/heads/main'
uses: softprops/action-gh-release@v2
with:
tag_name: v0.1.${{ github.run_number }}
name: FrostWing v0.1.${{ github.run_number }}
body: |
FrostWing OS Automated Build
Commit: ${{ github.sha }}
Verify:
sha256sum -c sha256sums
files: |
FrostWing.iso
FrostWing.iso.tar.gz
sha256sums
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}