Skip to content

Commit 949b55f

Browse files
committed
attempt to fix PerformanceTests xplat CI build
1 parent c9505df commit 949b55f

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

pythonnet.15.sln

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CI", "CI", "{D301657F-5EAF-
2525
ci\appveyor_run_tests.ps1 = ci\appveyor_run_tests.ps1
2626
EndProjectSection
2727
EndProject
28+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{57F5D701-F265-4736-A5A2-07249E7A4DA3}"
29+
ProjectSection(SolutionItems) = preProject
30+
setup.py = setup.py
31+
EndProjectSection
32+
EndProject
2833
Global
2934
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3035
Debug|Any CPU = Debug|Any CPU

setup.py

+11-1
Original file line numberDiff line numberDiff line change
@@ -356,12 +356,22 @@ def build_extension(self, ext):
356356
" ".join(
357357
cmd
358358
+ [
359-
'"/t:Console_15:publish;Python_EmbeddingTest_15:publish;Python_PerformanceTests:publish"',
359+
'"/t:Console_15:publish;Python_EmbeddingTest_15:publish"',
360360
"/p:TargetFramework=netcoreapp2.0",
361361
]
362362
),
363363
shell=use_shell,
364364
)
365+
subprocess.check_call(
366+
" ".join(
367+
cmd
368+
+ [
369+
'"/t:Python_PerformanceTests:publish"',
370+
"/p:TargetFramework=net461",
371+
]
372+
),
373+
shell=use_shell,
374+
)
365375
if DEVTOOLS == "Mono" or DEVTOOLS == "dotnet":
366376
self._build_monoclr()
367377

0 commit comments

Comments
 (0)