31 lines
716 B
YAML
31 lines
716 B
YAML
name: C/C++ CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Install Missing Tools
|
|
working-directory: edk2
|
|
run: apt install nasm
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
repository: tianocore/edk2
|
|
submodules : true
|
|
path: edk2
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
path: edk2/SmokelessRuntimeEFIPatcher
|
|
- 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"
|