core/opregion: Avoid needless loads for fields marked Preserve #69
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: 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 |