[ImgBot] Optimize images #294
Workflow file for this run
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 | |
on: [push, pull_request] | |
jobs: | |
ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.11' | |
- name: Install Dependencies | |
run: | | |
sudo apt update | |
sudo apt install git ninja-build libsdl2-dev nasm gcc-multilib qemu-system-x86 | |
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" llvm 16 | |
- name: Set up the build environment | |
run: ./skift.sh tools setup && ./skift.sh tools doctor | |
- name: Download third-party dependencies | |
run: ./skift.sh model install | |
- name: Build Kernel (x86_64) | |
run: ./skift.sh builder build --target=kernel-x86_64 | |
- name: Build EFI (x86_64) | |
run: ./skift.sh builder build --target=efi-x86_64 | |
- name: Build Userspace (x86_64) | |
run: ./skift.sh builder build --target=skift-x86_64 | |
- name: Build Userspace (Host) | |
run: ./skift.sh builder build | |
- name: Test Userspace (Host) | |
run: ./skift.sh builder test |