setup an Azure Pipeline

This commit is contained in:
Zhuowei Zhang 2019-02-21 18:10:58 -08:00
parent 514e7692c7
commit b6afbff450
2 changed files with 20 additions and 0 deletions

10
azure-pipelines.yml Normal file
View File

@ -0,0 +1,10 @@
trigger:
- master
pool:
vmImage: 'Ubuntu-18.04'
steps:
- script: |
./ci-build.sh
displayName: 'ci-build'

10
ci-build.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
set -e
sudo apt install build-essential uuid-dev iasl git nasm python3-distutils gcc-aarch64-linux-gnu
curdir="$PWD"
cd ..
git clone https://github.com/tianocore/edk2.git --recursive
git clone https://github.com/tianocore/edk2-platforms.git
cd "$curdir"
./firstrun.sh
./build.sh