Create c-cpp.yml
This commit is contained in:
parent
8b3b560b06
commit
bd44f29379
1 changed files with 27 additions and 0 deletions
27
.github/workflows/c-cpp.yml
vendored
Normal file
27
.github/workflows/c-cpp.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
name: C/C++ CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "master" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "master" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
repository: https://github.com/tianocore/edk2
|
||||||
|
submodules : true
|
||||||
|
- name: Move to EDK2
|
||||||
|
run: mv SmokelessRuntimeEFIPatcher edk2
|
||||||
|
- 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"
|
Loading…
Reference in a new issue