Fixing the SDL.vnext pipeline (#1113)
This commit is contained in:
Родитель
b9238214c4
Коммит
37484317ff
|
@ -7,7 +7,7 @@
|
|||
<NativeRootPath>$([MSBuild]::NormalizePath($(EnlistmentRoot)src/Simulation/Native))</NativeRootPath>
|
||||
<NativeBuildPath>$([MSBuild]::NormalizePath($(NativeRootPath)/build/drop))</NativeBuildPath>
|
||||
<ExperimentalSimBuildPath>$([MSBuild]::NormalizePath($(EnlistmentRoot)src/Simulation/qdk_sim_rs/drop))</ExperimentalSimBuildPath>
|
||||
<NativeSparseSimBuildPath>$([MSBuild]::NormalizePath($(EnlistmentRoot)src/Simulation/NativeSparseSimulator/build))</NativeSparseSimBuildPath>
|
||||
<NativeSparseSimBuildPath>$([MSBuild]::NormalizePath($(EnlistmentRoot)src/Simulation/NativeSparseSimulator/build/drop))</NativeSparseSimBuildPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -45,3 +45,9 @@ foreach(TEST SparseSimulatorTests CSharpIntegrationTests)
|
|||
target_include_directories(${TEST} PRIVATE ../../Qir/Common/Externals/catch2)
|
||||
add_test(${TEST} ${TEST})
|
||||
endforeach()
|
||||
|
||||
install(TARGETS Microsoft.Quantum.SparseSimulator.Runtime
|
||||
RUNTIME DESTINATION "${CMAKE_BINARY_DIR}/drop"
|
||||
LIBRARY DESTINATION "${CMAKE_BINARY_DIR}/drop"
|
||||
ARCHIVE DESTINATION "${CMAKE_BINARY_DIR}/drop"
|
||||
)
|
||||
|
|
|
@ -67,7 +67,7 @@ Push-Location $BuildDir
|
|||
( & "cmake" $CmakeConfigArgs ) || ( $FailureCommands.Invoke() )
|
||||
|
||||
# Invoke the build scripts:
|
||||
( cmake --build . ) || ( $FailureCommands.Invoke() )
|
||||
( cmake --build . --target install) || ( $FailureCommands.Invoke() )
|
||||
|
||||
# popd
|
||||
Pop-Location
|
||||
|
|
Загрузка…
Ссылка в новой задаче