aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2019-01-08 02:38:01 -0800
committerGitHub <noreply@github.com>2019-01-08 02:38:01 -0800
commit872bd2b57ce8e4ea7a54acb3934222c0e4e7276b (patch)
treecda6cc6c3823daa9bec4cd93ffc64c2bf54e886e /.azure-pipelines
parentbpo-35568: add 'raise_signal' function (GH-11335) (diff)
downloadcpython-872bd2b57ce8e4ea7a54acb3934222c0e4e7276b.tar.gz
cpython-872bd2b57ce8e4ea7a54acb3934222c0e4e7276b.tar.bz2
cpython-872bd2b57ce8e4ea7a54acb3934222c0e4e7276b.zip
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.yml10
-rw-r--r--.azure-pipelines/windows-layout-steps.yml11
2 files changed, 21 insertions, 0 deletions
diff --git a/.azure-pipelines/ci.yml b/.azure-pipelines/ci.yml
index 49a7bb6232a..78075bcfc14 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 00000000000..62e5259375f
--- /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'] }})