Run in QEMU as a GitHub action #30
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: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: 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: make | |
- name: make testapp | |
run: make testapp | |
- name: make qemu | |
run: make qemu | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
path: | | |
kernel/interface/i686/jinue | |
userspace/testapp/testapp | |
- name: make qemu-check | |
run: make qemu-check |