diff options
author | Steve Dower <steve.dower@microsoft.com> | 2019-01-08 02:38:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-08 02:38:01 -0800 |
commit | 872bd2b57ce8e4ea7a54acb3934222c0e4e7276b (patch) | |
tree | cda6cc6c3823daa9bec4cd93ffc64c2bf54e886e /.azure-pipelines | |
parent | c24c6c2c9357da99961bf257078240529181daf3 (diff) | |
download | cpython-git-872bd2b57ce8e4ea7a54acb3934222c0e4e7276b.tar.gz |
bpo-35596: Use unchecked PYCs for the embeddable distro to avoid zipimport restrictions (GH-11465)
Also adds extra steps to the CI build for Windows on Azure Pipelines to validate that the various layouts at least execute.
Diffstat (limited to '.azure-pipelines')
-rw-r--r-- | .azure-pipelines/ci.yml | 10 | ||||
-rw-r--r-- | .azure-pipelines/windows-layout-steps.yml | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/.azure-pipelines/ci.yml b/.azure-pipelines/ci.yml index 49a7bb6232..78075bcfc1 100644 --- a/.azure-pipelines/ci.yml +++ b/.azure-pipelines/ci.yml @@ -134,3 +134,13 @@ jobs: steps: - template: ./windows-steps.yml + + - template: ./windows-layout-steps.yml + parameters: + kind: nuget + - template: ./windows-layout-steps.yml + parameters: + kind: embed + - template: ./windows-layout-steps.yml + parameters: + kind: appx diff --git a/.azure-pipelines/windows-layout-steps.yml b/.azure-pipelines/windows-layout-steps.yml new file mode 100644 index 0000000000..62e5259375 --- /dev/null +++ b/.azure-pipelines/windows-layout-steps.yml @@ -0,0 +1,11 @@ +parameters: + kind: nuget + extraOpts: --precompile + +steps: +- script: .\python.bat PC\layout -vv -s "$(Build.SourcesDirectory)" -b "$(Py_OutDir)\$(arch)" -t "$(Py_IntDir)\layout-tmp-${{ parameters['kind'] }}-$(arch)" --copy "$(Py_OutDir)\layout-${{ parameters['kind'] }}-$(arch)" ${{ parameters['extraOpts'] }} --preset-${{ parameters['kind'] }} --include-tests + displayName: Create ${{ parameters['kind'] }} layout + +- script: .\python.exe -m test.pythoninfo + workingDirectory: $(Py_OutDir)\layout-${{ parameters['kind'] }}-$(arch) + displayName: Show layout info (${{ parameters['kind'] }}) |