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

31 lines
686 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:
runs-on: ubuntu-latest
steps:
2022-08-04 10:54:39 +01:00
- name: Install Missing Tools
run: 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 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"