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