Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Pascal Vizeli 2019-05-12 21:46:36 +02:00
parent 6510cf9619
commit d47e169bd5

View File

@ -65,22 +65,26 @@ jobs:
board: 'ova'
steps:
- script: |
apt-get update && apt-get install -y --no-install-recommends \
set -e
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
apt-transport-https ca-certificates curl \
gpg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
add-apt-repository "deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get update && apt-get install -y --no-install-recommends \
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
docker-ce
displayName: 'Setup docker'
- script: |
apt-get update && apt-get install -y --no-install-recommends \
sudo apt-get install -y --no-install-recommends \
wget patch vim cpio python unzip rsync bc bzip2 ncurses-dev \
git make g++ file perl bash binutils locales qemu-utils bison flex
displayName: 'Setup buildroot'
- script: dockerd -s vfs &> /dev/null &
- script: sudo dockerd -s vfs &> /dev/null &
displayName: 'Start docker'
- script: make $(board)
- script: sudo make $(board)
displayName: 'Build $(board)'