Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Zhao, Zhiqiang <[email protected]>
  • Loading branch information
Zhiqiang520 committed Aug 14, 2023
1 parent 32af9b5 commit 60f7dce
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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

0 comments on commit 60f7dce

Please sign in to comment.