-
-
Notifications
You must be signed in to change notification settings - Fork 177
/
azure-pipelines-linux.yml.tmpl
39 lines (37 loc) · 1.24 KB
/
azure-pipelines-linux.yml.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This file was generated automatically from conda-smithy. To update this configuration,
# update the conda-forge.yml and/or the recipe/meta.yaml.
# -*- mode: yaml -*-
jobs:
- job: linux
pool:
vmImage: ubuntu-16.04
timeoutInMinutes: {{ azure.timeout_minutes }}
strategy:
maxParallel: 8
matrix:
{%- for data in configs %}
{%- if data.platform.startswith('linux') %}
{{ data.config_name }}:
CONFIG: {{ data.config_name }}
UPLOAD_PACKAGES: {{ data.upload }}
DOCKER_IMAGE: {{ data.config["docker_image"][-1] }}
{%- endif %}
{%- endfor %}
steps:
# configure qemu binfmt-misc running. This allows us to run docker containers
# embedded qemu-static
- script: |
docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
ls /proc/sys/fs/binfmt_misc/
condition: not(startsWith(variables['CONFIG'], 'linux_64'))
displayName: Configure binfmt_misc
- script: |
export CI=azure
export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
{%- if upload_on_branch %}
export UPLOAD_ON_BRANCH="{{ upload_on_branch }}"
{%- endif %}
.scripts/run_docker_build.sh
displayName: Run docker build
env:
BINSTAR_TOKEN: $(BINSTAR_TOKEN)