mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 23:16:31 +00:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
e21f59111c
commit
85c82c4479
@ -50,3 +50,37 @@ jobs:
|
|||||||
buildroot-external/rootfs-overlay/usr/libexec/* \
|
buildroot-external/rootfs-overlay/usr/libexec/* \
|
||||||
buildroot-external/rootfs-overlay/usr/lib/rauc/*
|
buildroot-external/rootfs-overlay/usr/lib/rauc/*
|
||||||
displayName: 'Run ShellCheck'
|
displayName: 'Run ShellCheck'
|
||||||
|
|
||||||
|
|
||||||
|
- job: 'Release'
|
||||||
|
condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags'), succeeded('ShellCheck'))
|
||||||
|
dependsOn: 'ShellCheck'
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
container: 'ubuntu:18.04'
|
||||||
|
strategy:
|
||||||
|
maxParallel: 1
|
||||||
|
matrix:
|
||||||
|
OpenVirtualAppliance:
|
||||||
|
board: 'ova'
|
||||||
|
steps:
|
||||||
|
- script: |
|
||||||
|
apt-get update && 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"
|
||||||
|
|
||||||
|
apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
docker-ce
|
||||||
|
displayName: 'Setup docker'
|
||||||
|
- script: |
|
||||||
|
apt-get update && 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 &
|
||||||
|
displayName: 'Start docker'
|
||||||
|
- script: make $(board)
|
||||||
|
displayName: 'Build $(board)'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user