From b6afbff450758cafc0c9c785d383bd990531b075 Mon Sep 17 00:00:00 2001 From: Zhuowei Zhang Date: Thu, 21 Feb 2019 18:10:58 -0800 Subject: [PATCH] setup an Azure Pipeline --- azure-pipelines.yml | 10 ++++++++++ ci-build.sh | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 azure-pipelines.yml create mode 100644 ci-build.sh diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..dce6d29 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,10 @@ +trigger: +- master + +pool: + vmImage: 'Ubuntu-18.04' + +steps: +- script: | + ./ci-build.sh + displayName: 'ci-build' diff --git a/ci-build.sh b/ci-build.sh new file mode 100644 index 0000000..eccf756 --- /dev/null +++ b/ci-build.sh @@ -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