Skip to content

Create build.yml

Create build.yml #18

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: ilammy/setup-nasm@v1
uses: actions/checkout@v3

Check failure on line 21 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 21, Col: 7): 'uses' is already defined
with:
submodules: recursive
- name: build
run: |
cd
echo "===========!+++++Separator++++++!==========="
git branch
echo "===========!+++++Separator++++++!==========="
py -h
echo "===========!+++++Separator++++++!==========="
set PYTHON_HOME=C:\hostedtoolcache\windows\Python\3.11.4\x64
echo %PYTHON_HOME%
echo "===========!+++++Separator++++++!==========="
nasm.exe -help
echo "===========!+++++Separator++++++!==========="
edksetup.bat Rebuild && build.bat -p DeviceSecurityTestPkg\DeviceSecurityTestPkg.dsc -t VS2019 -a X64 -b DEBUG -j build_DEBUG.log