diff --git a/.circleci/build_win.ps1 b/.circleci/build_win.ps1 index 730bb6319..874381bf7 100644 --- a/.circleci/build_win.ps1 +++ b/.circleci/build_win.ps1 @@ -20,7 +20,7 @@ cd build $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 .. 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." } -..\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." } diff --git a/.circleci/config.yml b/.circleci/config.yml index bcfc99cd7..4472dbb71 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1256,7 +1256,7 @@ jobs: command: .circleci/build_win.ps1 - run: 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 - persist_to_workspace: root: build diff --git a/.circleci/soltest.ps1 b/.circleci/soltest.ps1 index 6b67adb13..d3f99bb9a 100755 --- a/.circleci/soltest.ps1 +++ b/.circleci/soltest.ps1 @@ -2,11 +2,11 @@ $ErrorActionPreference = "Stop" cd "$PSScriptRoot\.." -.\build\solc\Release\solc.exe --version +.\build\solc\Debug\solc.exe --version if ( -not $? ) { throw "Cannot execute solc --version." } 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." } -.\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." } \ No newline at end of file