SmokelessRuntimeEFIPatcher/.github/workflows/c-cpp.yml

32 lines
723 B
YAML
Raw Normal View History

2022-08-04 10:45:22 +01:00
name: C/C++ CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
2022-08-04 11:46:15 +01:00
runs-on: ubuntu-22.04
2022-08-04 10:45:22 +01:00
steps:
2022-08-04 10:54:39 +01:00
- name: Install Missing Tools
2022-08-04 10:56:19 +01:00
run: sudo apt install nasm
2022-08-04 10:45:22 +01:00
- uses: actions/checkout@v3
with:
2022-08-04 10:47:17 +01:00
repository: tianocore/edk2
2022-08-04 11:02:44 +01:00
ref: 'edk2-stable202205'
2022-08-04 10:45:22 +01:00
submodules : true
2022-08-04 10:51:48 +01:00
path: edk2
- uses: actions/checkout@v3
with:
path: edk2/SmokelessRuntimeEFIPatcher
2022-08-04 10:45:22 +01:00
- name: Build Base Tools
working-directory: edk2
run: make -C BaseTools
- name: Build
working-directory: edk2
run: "source edksetup.sh && build -t GCC5 -p SmokelessRuntimeEFIPatcher/SmokelessRuntimeEFIPatcher.dsc -a X64 -s"