summaryrefslogtreecommitdiffstats
path: root/.azure-pipelines/windows-layout-steps.yml
diff options
context:
space:
mode:
Diffstat (limited to '.azure-pipelines/windows-layout-steps.yml')
-rw-r--r--.azure-pipelines/windows-layout-steps.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.azure-pipelines/windows-layout-steps.yml b/.azure-pipelines/windows-layout-steps.yml
new file mode 100644
index 0000000..62e5259
--- /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'] }})