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
3077b9423d
commit
a13e7ad3e1
@ -18,6 +18,8 @@ variables:
|
||||
value: 'v1.16.3'
|
||||
- name: versionShellCheck
|
||||
value: 'v0.6.0'
|
||||
- name: versionGHR
|
||||
value: 'v0.12.1'
|
||||
|
||||
jobs:
|
||||
|
||||
@ -68,8 +70,13 @@ jobs:
|
||||
steps:
|
||||
- script: sudo docker build -t hassos:azure .
|
||||
displayName: 'Build container for HassOS'
|
||||
- script: |
|
||||
curl -SsL https://github.com/tcnksm/ghr/releases/download/$(versionGHR)/ghr_$(versionGHR)_linux_amd64.tar.gz | tar xzf -
|
||||
cp ghr_$(versionGHR)_linux_amd64/ghr .
|
||||
rm -rf ghr_$(versionGHR)_linux_amd64
|
||||
displayName: 'Install GHR'
|
||||
- script: |
|
||||
sudo docker run --rm --privileged -v "$(pwd):/build" \
|
||||
-v "/mnt/build-cache/cache:/cache" \
|
||||
-v "/mnt/build-cache:/cache" \
|
||||
hassos:azure make $(board)
|
||||
displayName: 'Build $(board)'
|
||||
|
Loading…
x
Reference in New Issue
Block a user