Skip to content

core/exec: Correctly pop loops when CONTINUE_OP is called #66

core/exec: Correctly pop loops when CONTINUE_OP is called

core/exec: Correctly pop loops when CONTINUE_OP is called #66

Workflow file for this run

name: Test LAI and generate test ISO
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install meson build-essential mtools xorriso acpica-tools
- name: Create tempdir
run: mktemp -d > tempdir
- name: Clone lai_tools
run: cd `cat tempdir` && git clone https://github.com/managarm/lai_tools.git
- name: Symlink lai subproject
run: LAIDIR=`pwd -P` && cd `cat tempdir` && rm -rf lai_tools/subprojects/lai && mkdir -p lai_tools/subprojects && ln -s $LAIDIR lai_tools/subprojects/lai
- name: Build and test lai
run: cd `cat tempdir` && mkdir -p lai_tools/build && cd lai_tools/build && meson .. && ninja && meson test -v
- name: Build test image
run: LAIDIR=`pwd -P` && cd `cat tempdir` && cd lai_tools/boot_image && make clean all && mv lai_test.iso $LAIDIR/
- name: Upload test image
uses: actions/upload-artifact@v1
with:
name: lai_test.iso
path: lai_test.iso