Compare commits

..
Author SHA1 Message Date
MaksimZhukov 505f65215c Merge pull request #93 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 04/29/2021
2021-04-29 15:40:40 +03:00
Service account 4598952486 Update versions-manifest 2021-04-29 12:38:53 +00:00
Alena Sviridenko 42bcd17332 [versions-manifest] Update for release from 04/19/2021 #92
[versions-manifest] Update for release from 04/19/2021
2021-04-19 11:13:43 +03:00
Service account 878244d959 Update versions-manifest 2021-04-19 08:01:02 +00:00
github-actions[bot]andService account 42c2eea389 Update versions-manifest (#90)
Co-authored-by: Service account <[email protected]>
2021-04-08 15:23:08 +03:00
MaksimZhukov 493c59469e Merge pull request #89 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 04/07/2021
2021-04-07 18:56:08 +03:00
Service account bd93b9d693 Update versions-manifest 2021-04-07 14:58:50 +00:00
MaksimZhukov d0e5494ee2 Merge pull request #88 from actions/v-mazhuk/skip-alpha-beta
Ignore tkinter module for alpha & beta versions of Pyrhon 3.10.0
2021-04-07 17:40:08 +03:00
MaksimZhukov 0601c2bfde Fix condition 2021-04-07 16:53:52 +03:00
MaksimZhukov 4eb1751819 Update condition to skip all alpha and beta python versions for 3.10.0 2021-04-07 15:50:08 +03:00
MaksimZhukov 54aba042fd Merge pull request #87 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 04/04/2021
2021-04-05 00:21:06 +03:00
Service account 31ab2bc9f8 Update versions-manifest 2021-04-04 21:12:41 +00:00
Alena Sviridenko 5f4f86cc5e Merge pull request #86 from actions/update-versions-manifest-file 2021-04-04 08:03:09 +03:00
Service account 8ea13d774e Update versions-manifest 2021-04-03 23:22:19 +00:00
github-actions[bot]andService account afecc6a8b9 Update versions-manifest (#85)
Co-authored-by: Service account <[email protected]>
2021-03-10 18:51:43 +03:00
Alena Sviridenko f4b22cc454 Ignore tkinter build fail for 3.10.0-alpha.6 #84
Ignore tkinter build fail for 3.10.0-alpha.6
2021-03-10 11:21:11 +03:00
Sergey Dolin 281024aec4 Skip tkinter failed build for alpha.6 2021-03-09 12:48:12 +05:00
github-actions[bot]andService account 17b1cd02ca Update versions-manifest (#83)
Co-authored-by: Service account <[email protected]>
2021-02-20 10:54:47 +03:00
MaksimZhukov 33a76c361a Merge pull request #82 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 02/16/2021
2021-02-16 15:47:39 +03:00
Service account 371f79b70a Update versions-manifest 2021-02-16 12:20:03 +00:00
MaksimZhukov 3b961aaf4b Merge pull request #81 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 02/04/2021
2021-02-04 20:32:52 +03:00
Service account e67096ebd1 Update versions-manifest 2021-02-04 12:52:56 +00:00
MaksimZhukov bd7c907270 Merge pull request #80 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 01/27/2021
2021-01-27 15:52:45 +03:00
Service account 8a3240d440 Update versions-manifest 2021-01-27 12:15:12 +00:00
MaksimZhukov 0da39d896f Merge pull request #79 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 01/26/2021
2021-01-26 18:38:27 +03:00
Service account 9fb025cb4b Update versions-manifest 2021-01-26 08:25:00 +00:00
MaksimZhukov 2c5eb53471 Merge pull request #78 from vsafonkin/v-vlsafo/windows-python3-symlink
Add symlink `python3`
2021-01-25 12:27:40 +03:00
Vladimir Safonkin 4a64b9faa7 Remove test changes in manifest 2021-01-22 11:01:41 +03:00
Vladimir Safonkin f122228a65 Update manifest 2021-01-21 16:17:21 +03:00
Vladimir Safonkin de3f713ccc Create python3 symlink on Windows 2021-01-21 11:02:09 +03:00
Maxim Lobanov 918fe6dc0f Create CODEOWNERS (#75)
* Create CODEOWNERS

* Update CODEOWNERS
2021-01-20 21:38:34 +03:00
MaksimZhukov 21af7aa4a5 Merge pull request #77 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 01/13/2021
2021-01-13 13:44:09 +03:00
Service account 39774a2eb7 Update versions-manifest 2021-01-13 09:34:15 +00:00
MaksimZhukov 5c48eb00d0 Merge pull request #76 from dmitry-shibanov/v-dmshib/fix-warning-location
Add flag to skip warnings location of pip
2021-01-13 10:54:39 +03:00
Dmitry Shibanov f102cb2a16 add flag to skip warnings of location of pip 2021-01-11 11:29:39 +03:00
github-actions[bot]andService account dc6698e2f1 Update versions-manifest (#74)
Co-authored-by: Service account <[email protected]>
2021-01-06 12:04:57 +03:00
MaksimZhukov 50aa2873fc Merge pull request #73 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 12/22/2020
2020-12-22 10:11:27 +03:00
MaksimZhukov cf414aaddb Merge pull request #72 from actions/v-mazhuk/fix-cask-issue
Remove the temporary step with PowerShell version upgrade
2020-12-22 10:11:16 +03:00
Service account 139e1b9608 Update versions-manifest 2020-12-22 01:06:28 +00:00
MaksimZhukov f4137da2f9 Remove temporary step 2020-12-22 03:41:24 +03:00
MaksimZhukov 456c8c380c Update the brew upgrade command 2020-12-22 03:38:12 +03:00
MaksimZhukov 30a06d5828 Merge pull request #71 from actions/v-mazhuk/add-test-workflow
Add a new workflow to test Python versions
2020-12-16 09:23:36 +03:00
MaksimZhukov d3614793c0 Add a new workflow to test Python versions 2020-12-15 17:31:08 +03:00
MaksimZhukov fab0879a3d Merge pull request #70 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 12/15/2020
2020-12-15 11:48:07 +03:00
Service account 105a61d2c8 Update versions-manifest 2020-12-15 08:12:39 +00:00
MaksimZhukov 9515b3b32a Merge pull request #68 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 12/10/2020
2020-12-10 12:53:39 +03:00
Service account 597694ec77 Update versions-manifest 2020-12-10 09:25:34 +00:00
MaksimZhukov a6b76b25b6 Merge pull request #69 from actions/v-mazhuk/fix-python-3.10
Update the list of modules in tests for Python 3.10
2020-12-10 12:05:36 +03:00
MaksimZhukov 3a4a0fd269 Update the list of modules in tests for Python 3.10 2020-12-10 11:45:28 +03:00
MaksimZhukov c4836579b7 Merge pull request #65 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 11/27/2020
2020-11-30 13:33:41 +03:00
Service account ed01c1359f Update versions-manifest 2020-11-27 08:24:08 +00:00
MaksimZhukov 650a155a9a Merge pull request #66 from dmitry-shibanov/v-dmshib/fix-StrictVersion
Replace StrictVersion to LooseVersion
2020-11-25 19:14:54 +03:00
Dmitry Shibanov 28d23216d1 Update python-config-test.py 2020-11-24 22:41:59 +03:00
MaksimZhukov 6468490367 Merge pull request #64 from actions/v-mazhuk/fix-powerhell-issue-with-paths
Fix PowerShell issue with relative paths
2020-11-23 17:35:28 +03:00
MaksimZhukov 4be9a4cca1 Update overwriteExistingFiles input 2020-11-23 16:47:07 +03:00
MaksimZhukov 89a619f4b9 Fix PowerShell issue with relative paths 2020-11-23 13:29:46 +03:00
MaksimZhukov ac42875cb8 Merge pull request #63 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 11/09/2020
2020-11-09 16:00:27 +03:00
Service account 280f63ac35 Update versions-manifest 2020-11-09 12:34:15 +00:00
MaksimZhukov f85839ce0d Merge pull request #62 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 11/04/2020
2020-11-06 09:35:07 +03:00
Service account 594273ac16 Update versions-manifest 2020-11-04 17:39:24 +00:00
MaksimZhukov bc57fd3c5f Merge pull request #59 from actions/update-versions-manifest-file
[versions-manifest] Build main Python versions with 1.1 version of openssl
2020-10-29 15:51:35 +03:00
Service account a887886318 Update versions-manifest 2020-10-29 08:58:36 +00:00
Dmitry ShibanovandDmitry Shibanov ff4ca0b2e5 skip test for python 2 (#60)
Co-authored-by: Dmitry Shibanov <[email protected]>
2020-10-29 10:39:08 +03:00
MaksimZhukov 0b6a06284d Merge pull request #58 from dmitry-shibanov/v-dmshib/rebuild-python-openssl
Change version of openssl for python building.
2020-10-28 15:17:45 +03:00
Dmitry Shibanov 50e47adc8b remove debug lines 2020-10-27 11:56:49 +03:00
Dmitry Shibanov 99a84463ad revert test changes 2020-10-27 11:45:49 +03:00
Dmitry Shibanov a7aea91c95 change links 2020-10-21 19:18:35 +03:00
Dmitry Shibanov cdd1351989 change to static path 2020-10-21 15:55:45 +03:00
Dmitry Shibanov 2aa5c75cf9 change connection 2020-10-21 10:58:28 +03:00
Dmitry Shibanov 13b26039fa add fix to confirm uninstalling 2020-10-20 15:47:44 +03:00
Dmitry Shibanov aa8915507a add new openssl 2020-10-20 13:12:41 +03:00
MaksimZhukov 57bf4da3a5 Merge pull request #57 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 10/14/2020
2020-10-14 12:06:42 +03:00
Service account 085cf7607e Update versions-manifest 2020-10-14 08:52:18 +00:00
MaksimZhukov ae06e9c90f Merge pull request #56 from dmitry-shibanov/v-dmshib/exclude-symbol-from3.10
Exclude symbol module from python 3.10 and higher.
2020-10-14 11:27:17 +03:00
Dmitry Shibanov c4030498aa add version compare 2020-10-13 19:56:27 +03:00
Dmitry Shibanov 6701f7c8b0 add new exclude 2020-10-13 16:42:04 +03:00
github-actions[bot]andService account 1430296346 Add 3.9.0 (#55)
Co-authored-by: Service account <[email protected]>
2020-10-06 15:48:59 +03:00
MaksimZhukov abc7af4881 Merge pull request #54 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 09/24/2020
2020-09-25 11:21:23 +03:00
Service account c2464b5d82 Update versions-manifest 2020-09-24 12:26:29 +00:00
MaksimZhukov ff07bfffbb Merge pull request #53 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 09/21/2020
2020-09-21 18:06:30 +03:00
Service account 46856eea96 Update versions-manifest 2020-09-21 14:48:39 +00:00
MaksimZhukov 1c92aa7fd8 Merge pull request #52 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 09/07/2020
2020-09-07 12:22:42 +03:00
Service account 4e23e7ccf5 Update versions-manifest 2020-09-07 09:07:48 +00:00
MaksimZhukov e643db6cb1 Merge pull request #50 from actions/v-mazhuk/move-release-creation-to-github-actions
Move release and PR creation to GitHub Actions
2020-08-28 18:01:59 +03:00
MaksimZhukov 15099a8cbe Add link to the created PR 2020-08-28 15:24:47 +03:00
MaksimZhukov a3078ebf0c Move release and PR creation to the GitHub Actions 2020-08-28 14:14:38 +03:00
MaksimZhukov 87b41b829e Merge pull request #47 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 08/18/2020
2020-08-18 16:40:37 +03:00
Service account b41aabd79c Update versions-manifest based on build from 20200818.1 2020-08-18 13:25:10 +00:00
MaksimZhukov ca3edf5446 Merge pull request #46 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 08/12/2020
2020-08-12 12:55:08 +03:00
Service account 04b0679602 Update versions-manifest based on build from 20200812.1 2020-08-12 08:45:37 +00:00
MaksimZhukovandMaksimZhukov 6204b3717e Update Git submodule (#45)
Co-authored-by: MaksimZhukov <[email protected]>
2020-07-30 14:22:24 +03:00
Maxim Lobanov d20146a86c Update versions-manifest.json 2020-07-28 22:12:47 +03:00
MaksimZhukovandService account 4df41f4916 Update versions-manifest based on build from 20200721.2 (#44)
Co-authored-by: Service account <[email protected]>
2020-07-24 14:15:21 +03:00
MaksimZhukovandService account 636e550e78 Update versions-manifest based on build from 20200721.2 (#43)
Co-authored-by: Service account <[email protected]>
2020-07-21 16:04:40 +03:00
MaksimZhukovandService account bbbf87f2cf Update versions-manifest based on build from 20200715.1 (#42)
Co-authored-by: Service account <[email protected]>
2020-07-17 16:45:08 +03:00
MaksimZhukovandService account 1cb5ff2fb0 Update versions-manifest based on build from 20200715.1 (#40)
Co-authored-by: Service account <[email protected]>
2020-07-15 20:49:07 +03:00
MaksimZhukovandMaksimZhukov 654b037263 Fix python tests (#41)
Co-authored-by: MaksimZhukov <[email protected]>
2020-07-15 15:54:30 +03:00
Maxim Lobanov 06e3e6702d Update README.md 2020-07-15 13:37:07 +03:00
5c851d6172 Add support for unstable Python versions (#38)
* Add support of unstable versions to package generation (#2)
* Add support of symver versions to Python setup scripts and tests

Co-authored-by: Maksim Petrov <[email protected]>
Co-authored-by: MaksimZhukov <[email protected]>
Co-authored-by: Maxim Lobanov <[email protected]>
2020-07-15 13:13:21 +03:00
Maxim Lobanov 67794a4d5f switch default branch (#37) 2020-07-14 17:22:51 +03:00
MaksimZhukov 58a9c4b1d9 Merge pull request #35 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 06/29/2020
2020-06-29 18:14:43 +03:00
Service account 9b7480ff6d Update versions-manifest based on build from 20200629.6 2020-06-29 11:51:19 +00:00
MaksimZhukov 7ef20701e6 Merge pull request #34 from actions/v-mazhuk/validate-version-manifest
Add test workflow to validate versions-manifest.json file
2020-06-17 10:45:17 +03:00
MaksimZhukov 4dee72fe2f Remove checkout and update git submodules 2020-06-16 20:10:32 +03:00
MaksimZhukov 94ccfe8b74 Add test workflow to validate versions-manifest.json file 2020-06-16 18:39:00 +03:00
Alena Sviridenko 6e82fdd5b2 Merge pull request #32 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 06/10/2020
2020-06-10 12:32:33 +03:00
Service account 0baa79c808 Update versions-manifest based on build from 20200610.1 2020-06-10 08:43:43 +00:00
Alena Sviridenko 614a9e29eb Merge pull request #31 from vmapetr/v-mapetr/build-with-loadable-sqlite-extensions
Build Python3 for nix and darwin with enabled loadable sqlite extensions
2020-06-09 15:14:26 +03:00
Maksim Petrov 22860d08aa Build Python3 for nix and darwin with enabled loadable sqlite extensions 2020-06-08 16:00:25 +03:00
MaksimZhukovandService account d0bb4295e9 Upload Ubuntu 20.04 binaries (#28)
Co-authored-by: Service account <[email protected]>
2020-06-04 08:54:29 +03:00
Maxim Lobanov 2a3a8176d7 Update platform for new version manifest generator (#29)
* Update build-python-packages.yml

* update platforms

* fix platform conditions

* add clean up
2020-06-03 20:38:34 +03:00
Maxim Lobanov 06026eac83 add ubuntu 2004 to definitions (#27) 2020-06-03 09:45:50 +03:00
Dmitry Shibanov 572e346b1c Add helpers' submodule (#26)
* add common helpers
Co-authored-by: Dmitry Shibanov <[email protected]>
2020-06-02 18:23:40 +03:00
MaksimZhukovandService account 10f5e8e4f5 Update versions-manifest based on build from 20200514.1 (#25)
Co-authored-by: Service account <[email protected]>
2020-05-14 13:11:17 +03:00
Konrad PabjanandBrian Cristante 1c756eb429 Update nix-setup-template comments (#24)
* Update nix-setup-template.sh

* Update installers/nix-setup-template.sh

Co-authored-by: Brian Cristante <[email protected]>

Co-authored-by: Brian Cristante <[email protected]>
2020-05-08 18:07:16 +03:00
MaksimZhukov 95394a105a Merge pull request #23 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 05/06/2020
2020-05-06 15:31:14 +03:00
Service account eb1676d8ac Update versions-manifest based on build from 20200505.19 2020-05-06 11:46:24 +00:00
Martijn Pieters f75c0e6e4b There is no AGENT_TOOLSDIRECTORY on GitHub images (#21)
This change reflects what the Windows installer already does:  https://github.com/mjpieters/python-versions/blob/c0e7ef2c3c5b8e3dce50c0caceaafb4a5266a36c/installers/win-setup-template.ps1#L82-L87
2020-05-05 14:07:17 +03:00
Maxim Lobanov e6805b9e59 Rework replacement function for installer to use the same pattern like windows (#22)
* rework replacement function to use the same pattern like windows

* remove old replacement
2020-05-05 09:44:58 +03:00
MaksimZhukovandService account c0e7ef2c3c Update versions-manifest based on build from 20200429.38 (#20)
Co-authored-by: Service account <[email protected]>
2020-04-30 05:33:11 +03:00
Maksim Petrov 76790a5af2 Fix Windows Python package uninstallation (#19) 2020-04-29 23:06:00 +03:00
MaksimZhukov 97a66309b6 Merge pull request #18 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 04/29/2020
2020-04-29 15:48:59 +03:00
Service account bb3cf0ebf1 Update versions-manifest based on build from 20200429.16 2020-04-29 12:39:29 +00:00
43 changed files with 2568 additions and 1144 deletions
+1
View File
@@ -0,0 +1 @@
* @actions/virtual-environments-owners
+33
View File
@@ -0,0 +1,33 @@
name: Create Pull Request
on:
workflow_dispatch:
defaults:
run:
shell: pwsh
jobs:
create_pr:
name: Create Pull Request
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Create versions-manifest.json
run: |
./helpers/packages-generation/manifest-generator.ps1 -RepositoryFullName "$env:GITHUB_REPOSITORY" `
-GitHubAccessToken "${{secrets.GITHUB_TOKEN}}" `
-OutputFile "./versions-manifest.json" `
-ConfigurationFile "./config/python-manifest-config.json"
- name: Create GitHub PR
run: |
$formattedDate = Get-Date -Format "MM/dd/yyyy"
./helpers/github/create-pull-request.ps1 `
-RepositoryFullName "$env:GITHUB_REPOSITORY" `
-AccessToken "${{secrets.GITHUB_TOKEN}}" `
-BranchName "update-versions-manifest-file" `
-CommitMessage "Update versions-manifest" `
-PullRequestTitle "[versions-manifest] Update for release from ${formattedDate}" `
-PullRequestBody "Update versions-manifest.json for release from ${formattedDate}"
+18
View File
@@ -0,0 +1,18 @@
name: Create release
on:
repository_dispatch:
types: [create-release]
jobs:
create_release:
name: Create release ${{ github.event.client_payload.ToolVersion }}
runs-on: ubuntu-latest
steps:
- name: Create release for Python ${{ github.event.client_payload.ToolVersion }}
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.event.client_payload.TagName }}
release_name: ${{ github.event.client_payload.ToolVersion }}
body: ${{ github.event.client_payload.ReleaseBody }}
@@ -0,0 +1,32 @@
name: Manifest config tests
on:
pull_request:
branches:
- main
paths-ignore:
- 'versions-manifest.json'
jobs:
RunTests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Install Pester
shell: pwsh
run: |
Install-Module Pester -Force -Scope CurrentUser
- name: Run tests
shell: pwsh
run: |
Import-Module Pester
Invoke-Pester -Configuration @{
Run = @{
Path = "tests/ManifestConfig.Tests.ps1"
Exit = $true
}
}
+35
View File
@@ -0,0 +1,35 @@
name: Validate 'versions-manifest.json' file
on:
push:
branches:
- main
paths:
- 'versions-manifest.json'
jobs:
setup-versions-from-manifest:
name: Setup ${{ matrix.python }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-16.04, ubuntu-18.04, ubuntu-20.04]
python: [3.5.4, 3.6.7, 3.7.5, 3.8.1]
steps:
- name: setup-python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Validate version
run: |
$pythonVersion = (python --version)
if ("Python ${{ matrix.python }}" -ne "$pythonVersion"){
Write-Host "The current version is $pythonVersion; expected version is ${{ matrix.python }}"
exit 1
}
$pythonVersion
shell: pwsh
- name: Run simple code
run: python -c 'import math; print(math.factorial(5))'
+34
View File
@@ -0,0 +1,34 @@
name: Test Python version
on:
workflow_dispatch:
inputs:
version:
description: 'Python version to build'
required: true
architecture:
description: 'The target architecture (x86, x64) of the Python'
required: false
default: 'x64'
jobs:
test-python:
name: Test Python ${{ github.event.inputs.version }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-18.04, ubuntu-20.04]
steps:
- name: Setup Python ${{ github.event.inputs.version }}
uses: actions/setup-python@main
with:
python-version: ${{ github.event.inputs.version }}
architecture: ${{ github.event.inputs.architecture }}
- name: Validate version
run: |
python --version
shell: pwsh
- name: Run simple code
run: python -c 'import math; print(math.factorial(5))'
+4
View File
@@ -0,0 +1,4 @@
[submodule "helpers"]
path = helpers
url = https://github.com/actions/versions-package-tools
branch = main
+1 -1
View File
@@ -10,7 +10,7 @@ Some versions are pre-installed on [virtual-environments](https://github.com/act
More versions will (soon!) be available to install on-the-fly through the [`setup-python`](https://github.com/actions/setup-python) action. More versions will (soon!) be available to install on-the-fly through the [`setup-python`](https://github.com/actions/setup-python) action.
## Adding new versions ## Adding new versions
We are trying to build and release new versions of Python as soon as they are released. Please open an issue if any versions are missing. We are trying to build and release new versions of Python as soon as they are released. Please open an issue in [actions/virtual-environments](https://github.com/actions/virtual-environments) if any versions are missing.
## Contribution ## Contribution
Contributions are welcome! See [Contributor's Guide](./CONTRIBUTING.md) for more details about contribution process and code structure Contributions are welcome! See [Contributor's Guide](./CONTRIBUTING.md) for more details about contribution process and code structure
+43 -10
View File
@@ -7,7 +7,7 @@ stages:
dependsOn: [] dependsOn: []
variables: variables:
VmImage: 'macOS-10.14' VmImage: 'macOS-10.14'
Platform: macos-1014 Platform: darwin
Architecture: x64 Architecture: x64
jobs: jobs:
- template: /azure-pipelines/templates/build-job.yml - template: /azure-pipelines/templates/build-job.yml
@@ -17,7 +17,7 @@ stages:
dependsOn: Build_Python_MacOS dependsOn: Build_Python_MacOS
variables: variables:
VmImage: 'macOS-10.14' VmImage: 'macOS-10.14'
Platform: macos-1014 Platform: darwin
Architecture: x64 Architecture: x64
jobs: jobs:
- template: /azure-pipelines/templates/test-job.yml - template: /azure-pipelines/templates/test-job.yml
@@ -26,7 +26,7 @@ stages:
dependsOn: [] dependsOn: []
variables: variables:
VmImage: 'ubuntu-16.04' VmImage: 'ubuntu-16.04'
Platform: ubuntu-1604 Platform: linux-16.04
Architecture: x64 Architecture: x64
jobs: jobs:
- template: /azure-pipelines/templates/build-job.yml - template: /azure-pipelines/templates/build-job.yml
@@ -36,7 +36,7 @@ stages:
dependsOn: Build_Python_Ubuntu_1604 dependsOn: Build_Python_Ubuntu_1604
variables: variables:
VmImage: 'ubuntu-16.04' VmImage: 'ubuntu-16.04'
Platform: ubuntu-1604 Platform: linux-16.04
Architecture: x64 Architecture: x64
jobs: jobs:
- template: /azure-pipelines/templates/test-job.yml - template: /azure-pipelines/templates/test-job.yml
@@ -45,7 +45,7 @@ stages:
dependsOn: [] dependsOn: []
variables: variables:
VmImage: 'ubuntu-18.04' VmImage: 'ubuntu-18.04'
Platform: ubuntu-1804 Platform: linux-18.04
Architecture: x64 Architecture: x64
jobs: jobs:
- template: /azure-pipelines/templates/build-job.yml - template: /azure-pipelines/templates/build-job.yml
@@ -55,7 +55,26 @@ stages:
dependsOn: Build_Python_Ubuntu_1804 dependsOn: Build_Python_Ubuntu_1804
variables: variables:
VmImage: 'ubuntu-18.04' VmImage: 'ubuntu-18.04'
Platform: ubuntu-1804 Platform: linux-18.04
Architecture: x64
jobs:
- template: /azure-pipelines/templates/test-job.yml
- stage: Build_Python_Ubuntu_2004
dependsOn: []
variables:
VmImage: 'ubuntu-20.04'
Platform: linux-20.04
Architecture: x64
jobs:
- template: /azure-pipelines/templates/build-job.yml
- stage: Test_Python_Ubuntu_2004
condition: succeeded()
dependsOn: Build_Python_Ubuntu_2004
variables:
VmImage: 'ubuntu-20.04'
Platform: linux-20.04
Architecture: x64 Architecture: x64
jobs: jobs:
- template: /azure-pipelines/templates/test-job.yml - template: /azure-pipelines/templates/test-job.yml
@@ -64,7 +83,7 @@ stages:
dependsOn: [] dependsOn: []
variables: variables:
VmImage: 'vs2017-win2016' VmImage: 'vs2017-win2016'
Platform: windows-2016 Platform: win32
Architecture: x64 Architecture: x64
jobs: jobs:
- template: /azure-pipelines/templates/build-job.yml - template: /azure-pipelines/templates/build-job.yml
@@ -74,7 +93,7 @@ stages:
dependsOn: Build_Python_X64_Windows dependsOn: Build_Python_X64_Windows
variables: variables:
VmImage: 'vs2017-win2016' VmImage: 'vs2017-win2016'
Platform: windows-2016 Platform: win32
Architecture: x64 Architecture: x64
jobs: jobs:
- template: /azure-pipelines/templates/test-job.yml - template: /azure-pipelines/templates/test-job.yml
@@ -83,7 +102,7 @@ stages:
dependsOn: [] dependsOn: []
variables: variables:
VmImage: 'vs2017-win2016' VmImage: 'vs2017-win2016'
Platform: windows-2016 Platform: win32
Architecture: x86 Architecture: x86
jobs: jobs:
- template: /azure-pipelines/templates/build-job.yml - template: /azure-pipelines/templates/build-job.yml
@@ -93,7 +112,21 @@ stages:
dependsOn: Build_Python_x86_Windows dependsOn: Build_Python_x86_Windows
variables: variables:
VmImage: 'vs2017-win2016' VmImage: 'vs2017-win2016'
Platform: windows-2016 Platform: win32
Architecture: x86 Architecture: x86
jobs: jobs:
- template: /azure-pipelines/templates/test-job.yml - template: /azure-pipelines/templates/test-job.yml
- stage: Publish_Release
dependsOn: [Test_Python_MacOS, Test_Python_Ubuntu_1604, Test_Python_Ubuntu_1804, Test_Python_Ubuntu_2004, Test_Python_x64_Windows, Test_Python_x86_Windows]
jobs:
- deployment: Publish_Release
pool:
name: Azure Pipelines
vmImage: ubuntu-18.04
environment: 'Get Available Tools Versions - Publishing Approval'
strategy:
runOnce:
deploy:
steps:
- template: /azure-pipelines/templates/publish-release-steps.yml
+7 -2
View File
@@ -3,7 +3,7 @@ pr:
autoCancel: true autoCancel: true
branches: branches:
include: include:
- master - main
paths: paths:
exclude: exclude:
- versions-manifest.json - versions-manifest.json
@@ -13,6 +13,7 @@ jobs:
pool: pool