QEMU without ISO image #282
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 for i686 | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ '*' ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
cc: [gcc, clang] | |
runs-on: ubuntu-latest | |
env: | |
MAKE: make CC="${{ matrix.cc }} -Werror" | |
steps: | |
- name: Install dependencies | |
run: sudo apt update && sudo apt-get install -y gcc-multilib grub-common nasm qemu-system-x86 xorriso | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: configure | |
run: ./configure | |
- name: make | |
run: ${{ env.MAKE }} | |
- name: libjinue | |
run: ${{ env.MAKE }} libjinue | |
- name: make testapp | |
run: ${{ env.MAKE }} testapp | |
- name: make qemu | |
run: ${{ env.MAKE }} qemu | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: artifact-${{ matrix.cc }} | |
path: | | |
kernel/interface/i686/jinue | |
userspace/lib/jinue/libjinue-syscalls.a | |
userspace/lib/jinue/libjinue-utils.a | |
userspace/testapp/jinue-testapp-initrd.tar.gz | |
- name: make qemu-check | |
run: ${{ env.MAKE }} qemu-check |