From bd44f29379cfd6e859015b02f1e33192006b62b7 Mon Sep 17 00:00:00 2001 From: SmokelessCPUv2 <110113863+SmokelessCPUv2@users.noreply.github.com> Date: Thu, 4 Aug 2022 11:45:22 +0200 Subject: [PATCH] Create c-cpp.yml --- .github/workflows/c-cpp.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/c-cpp.yml diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..81c9893 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -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"