Skip to content

Create build.yml

Create build.yml #14

Workflow file for this run

name: build
on:
push:
branches: [ "AddTestScript" ]
pull_request:
branches: [ "AddTestScript" ]
workflow_dispatch:
jobs:
build:
runs-on: windows-2019
defaults:
run:
shell: cmd
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: build
run: |
cd
git branch
py -h
set PYTHON_HOME=C:\hostedtoolcache\windows\Python\3.11.4\x64
edksetup.bat Rebuild
edksetup.bat
build -p DeviceSecurityTestPkg\DeviceSecurityTestPkg.dsc -t VS2019 -a X64 -b DEBUG -j build_DEBUG.log