mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Test windows debug builds.
This commit is contained in:
parent
44093f2ed6
commit
41cb8a9810
@ -20,7 +20,7 @@ cd build
|
|||||||
$boost_dir=(Resolve-Path $PSScriptRoot\..\deps\boost\lib\cmake\Boost-*)
|
$boost_dir=(Resolve-Path $PSScriptRoot\..\deps\boost\lib\cmake\Boost-*)
|
||||||
..\deps\cmake\bin\cmake -G "Visual Studio 16 2019" -DBoost_DIR="$boost_dir\" -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DCMAKE_INSTALL_PREFIX="$PSScriptRoot\..\upload" -DUSE_Z3=OFF ..
|
..\deps\cmake\bin\cmake -G "Visual Studio 16 2019" -DBoost_DIR="$boost_dir\" -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DCMAKE_INSTALL_PREFIX="$PSScriptRoot\..\upload" -DUSE_Z3=OFF ..
|
||||||
if ( -not $? ) { throw "CMake configure failed." }
|
if ( -not $? ) { throw "CMake configure failed." }
|
||||||
msbuild solidity.sln /p:Configuration=Release /m:10 /v:minimal
|
msbuild solidity.sln /p:Configuration=Debug /m:10 /v:minimal
|
||||||
if ( -not $? ) { throw "Build failed." }
|
if ( -not $? ) { throw "Build failed." }
|
||||||
..\deps\cmake\bin\cmake --build . -j 10 --target install --config Release
|
..\deps\cmake\bin\cmake --build . -j 10 --target install --config Debug
|
||||||
if ( -not $? ) { throw "Install target failed." }
|
if ( -not $? ) { throw "Install target failed." }
|
||||||
|
@ -1256,7 +1256,7 @@ jobs:
|
|||||||
command: .circleci/build_win.ps1
|
command: .circleci/build_win.ps1
|
||||||
- run:
|
- run:
|
||||||
name: "Run solc.exe to make sure build was successful."
|
name: "Run solc.exe to make sure build was successful."
|
||||||
command: .\build\solc\Release\solc.exe --version
|
command: .\build\solc\Debug\solc.exe --version
|
||||||
- store_artifacts: *artifact_solc_windows
|
- store_artifacts: *artifact_solc_windows
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: build
|
root: build
|
||||||
|
@ -2,11 +2,11 @@ $ErrorActionPreference = "Stop"
|
|||||||
|
|
||||||
cd "$PSScriptRoot\.."
|
cd "$PSScriptRoot\.."
|
||||||
|
|
||||||
.\build\solc\Release\solc.exe --version
|
.\build\solc\Debug\solc.exe --version
|
||||||
if ( -not $? ) { throw "Cannot execute solc --version." }
|
if ( -not $? ) { throw "Cannot execute solc --version." }
|
||||||
|
|
||||||
mkdir test_results
|
mkdir test_results
|
||||||
.\build\test\Release\soltest.exe --color_output=no --show_progress=yes --logger=JUNIT,error,test_results/result.xml -- --no-smt
|
.\build\test\Debug\soltest.exe --color_output=no --show_progress=yes --logger=JUNIT,error,test_results/result.xml -- --no-smt
|
||||||
if ( -not $? ) { throw "Unoptimized soltest run failed." }
|
if ( -not $? ) { throw "Unoptimized soltest run failed." }
|
||||||
.\build\test\Release\soltest.exe --color_output=no --show_progress=yes --logger=JUNIT,error,test_results/result_opt.xml -- --optimize --no-smt
|
.\build\test\Debug\soltest.exe --color_output=no --show_progress=yes --logger=JUNIT,error,test_results/result_opt.xml -- --optimize --no-smt
|
||||||
if ( -not $? ) { throw "Optimized soltest run failed." }
|
if ( -not $? ) { throw "Optimized soltest run failed." }
|
Loading…
Reference in New Issue
Block a user