Skip to content

Commit

Permalink
Merge branch 'master' into ft/effective_z_index
Browse files Browse the repository at this point in the history
  • Loading branch information
labuzm committed Feb 20, 2021
2 parents c0d8ae8 + 8652677 commit a91d419
Showing 1 changed file with 41 additions and 28 deletions.
69 changes: 41 additions & 28 deletions .ci/az-pipelines/make_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ trigger:
branches:
include:
- master # trigger building wheel for every master commit, don't upload wheel
pr: none
pr: # run on all pull requests
branches:
include:
- '*'

variables:
is_version_build: $[startswith(variables['Build.SourceBranch'], 'refs/tags/v')]
is_master_build: $[eq(variables['Build.SourceBranch'], 'refs/heads/master')]
is_main_repo: $[eq(variables['Build.DefinitionName'], 'kaaengine.kaa')]
build_all_py_versions: $[not(eq(variables['Build.Reason'], 'PullRequest'))]

jobs:
- job: build_linux
Expand All @@ -23,15 +27,18 @@ jobs:
vmImage: 'ubuntu-16.04'
strategy:
matrix:
Python36:
python.version: '3.6'
python.version_tag: 'py36'
Python37:
python.version: '3.7'
python.version_tag: 'py37'
Python38:
python.version: '3.8'
python.version_tag: 'py38'
${{ if eq(variables['build_all_py_versions'], true) }}:
Python36:
python.version: '3.6'
python.version_tag: 'py36'
${{ if eq(variables['build_all_py_versions'], true) }}:
Python37:
python.version: '3.7'
python.version_tag: 'py37'
${{ if eq(variables['build_all_py_versions'], true) }}:
Python38:
python.version: '3.8'
python.version_tag: 'py38'
Python39:
python.version: '3.9'
python.version_tag: 'py39'
Expand Down Expand Up @@ -62,15 +69,18 @@ jobs:
vmImage: 'windows-2019'
strategy:
matrix:
Python36:
python.version: '3.6'
python.version_tag: 'py36'
Python37:
python.version: '3.7'
python.version_tag: 'py37'
Python38:
python.version: '3.8'
python.version_tag: 'py38'
${{ if eq(variables['build_all_py_versions'], true) }}:
Python36:
python.version: '3.6'
python.version_tag: 'py36'
${{ if eq(variables['build_all_py_versions'], true) }}:
Python37:
python.version: '3.7'
python.version_tag: 'py37'
${{ if eq(variables['build_all_py_versions'], true) }}:
Python38:
python.version: '3.8'
python.version_tag: 'py38'
Python39:
python.version: '3.9'
python.version_tag: 'py39'
Expand All @@ -91,15 +101,18 @@ jobs:
vmImage: 'macOS-10.14'
strategy:
matrix:
Python36:
python.version: '3.6'
python.version_tag: 'py36'
Python37:
python.version: '3.7'
python.version_tag: 'py37'
Python38:
python.version: '3.8'
python.version_tag: 'py38'
${{ if eq(variables['build_all_py_versions'], true) }}:
Python36:
python.version: '3.6'
python.version_tag: 'py36'
${{ if eq(variables['build_all_py_versions'], true) }}:
Python37:
python.version: '3.7'
python.version_tag: 'py37'
${{ if eq(variables['build_all_py_versions'], true) }}:
Python38:
python.version: '3.8'
python.version_tag: 'py38'
Python39:
python.version: '3.9'
python.version_tag: 'py39'
Expand Down

0 comments on commit a91d419

Please sign in to comment.