2019-06-10 16:50:22 +02:00
|
|
|
jobs:
|
|
|
|
- job: Linux
|
|
|
|
pool:
|
|
|
|
vmImage: 'ubuntu-16.04'
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
AMD64 (x64):
|
|
|
|
dockerTag: 'amd64'
|
|
|
|
dockerName: 'Debian Stretch (AMD64)'
|
|
|
|
i386 (x86):
|
|
|
|
dockerTag: 'i386'
|
|
|
|
dockerName: 'Debian Stretch (i386)'
|
|
|
|
ARMv6hf (Raspberry Pi v1 & ZERO):
|
|
|
|
dockerTag: 'armv6hf'
|
|
|
|
dockerName: 'Debian Stretch (Raspberry Pi v1 & ZERO)'
|
|
|
|
platform: 'rpi'
|
|
|
|
ARMv7hf (Raspberry Pi 2 & 3):
|
|
|
|
dockerTag: 'armv7hf'
|
|
|
|
dockerName: 'Debian Stretch (Raspberry Pi 2 & 3)'
|
|
|
|
platform: 'rpi'
|
|
|
|
ARMv8 (Generic AARCH64):
|
|
|
|
dockerTag: 'aarch64'
|
|
|
|
dockerName: 'ARMv8 (Generic AARCH64)'
|
|
|
|
platform: 'amlogic'
|
|
|
|
steps:
|
|
|
|
- checkout: self
|
|
|
|
submodules: recursive
|
|
|
|
- bash: ./.ci/ci_build.sh
|
|
|
|
displayName: 'Build $(dockerName)'
|
|
|
|
env:
|
|
|
|
DOCKER_TAG: $(dockerTag)
|
|
|
|
DOCKER_NAME: $(dockerName)
|
|
|
|
PLATFORM: $(platform)
|
2019-06-15 15:46:56 +02:00
|
|
|
- task: CopyFiles@2
|
|
|
|
displayName: 'Copy Files'
|
|
|
|
inputs:
|
|
|
|
contents: '**/deploy/**'
|
|
|
|
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
displayName: 'Publish Artifact: $(dockerName)'
|
|
|
|
inputs:
|
|
|
|
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
|
|
|
artifactName: $(dockerTag)
|
2019-06-10 16:50:22 +02:00
|
|
|
|
|
|
|
- job: macOS
|
|
|
|
pool:
|
|
|
|
vmImage: 'macOS-10.13'
|
|
|
|
steps:
|
|
|
|
- checkout: self
|
|
|
|
submodules: recursive
|
|
|
|
- bash: ./.ci/ci_install.sh
|
|
|
|
displayName: 'Install dependencies'
|
|
|
|
- bash: ./.ci/ci_build.sh
|
|
|
|
displayName: 'Build macOS 10.13'
|
2019-06-15 15:46:56 +02:00
|
|
|
- task: CopyFiles@2
|
|
|
|
displayName: 'Copy Files'
|
|
|
|
inputs:
|
|
|
|
contents: '**/deploy/**'
|
|
|
|
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
displayName: 'Publish Artifact: macOS 10.13'
|
|
|
|
inputs:
|
|
|
|
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
|
|
|
artifactName: 'macOS'
|