mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Test run for CircleCI windows builds.
This commit is contained in:
parent
ed80585311
commit
23fa0a5387
@ -250,6 +250,16 @@ defaults:
|
||||
requires:
|
||||
- b_ubu_ossfuzz
|
||||
|
||||
- workflow_win: &workflow_win
|
||||
<<: *workflow_trigger_on_tags
|
||||
requires:
|
||||
- b_win
|
||||
|
||||
- workflow_win_release: &workflow_win_release
|
||||
<<: *workflow_trigger_on_tags
|
||||
requires:
|
||||
- b_win_release
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Notification Templates
|
||||
- gitter_notify_failure: &gitter_notify_failure
|
||||
@ -911,6 +921,24 @@ jobs:
|
||||
environment:
|
||||
FORCE_RELEASE: ON
|
||||
|
||||
t_win: &t_win
|
||||
executor:
|
||||
name: win/default
|
||||
shell: powershell.exe
|
||||
steps:
|
||||
- checkout
|
||||
- attach_workspace:
|
||||
at: build
|
||||
- run:
|
||||
name: "Install evmone"
|
||||
command: scripts/install_evmone.ps1
|
||||
- run:
|
||||
name: "Run soltest"
|
||||
command: .circleci/soltest.ps1
|
||||
- store_artifacts: *artifacts_test_results
|
||||
|
||||
t_win_release:
|
||||
<<: *t_win
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
@ -966,6 +994,8 @@ workflows:
|
||||
# Windows build and tests
|
||||
- b_win: *workflow_trigger_on_tags
|
||||
- b_win_release: *workflow_trigger_on_tags
|
||||
- t_win: *workflow_win
|
||||
- t_win_release: *workflow_win_release
|
||||
|
||||
nightly:
|
||||
|
||||
|
7
.circleci/soltest.ps1
Executable file
7
.circleci/soltest.ps1
Executable file
@ -0,0 +1,7 @@
|
||||
cd "$PSScriptRoot\.."
|
||||
|
||||
.\build\solc\Release\solc.exe --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\Release\soltest.exe --color_output=no --show_progress=yes --logger=JUNIT,error,test_results/result_opt.xml -- --optimize --no-smt
|
7
scripts/install_evmone.ps1
Normal file
7
scripts/install_evmone.ps1
Normal file
@ -0,0 +1,7 @@
|
||||
# Needed for Invoke-WebRequest to work via CI.
|
||||
$progressPreference = "silentlyContinue"
|
||||
|
||||
Invoke-WebRequest -URI "https://github.com/ethereum/evmone/releases/download/v0.5.0/evmone-0.5.0-windows-amd64.zip" -OutFile "evmone.zip"
|
||||
tar -xf evmone.zip "bin/evmone.dll"
|
||||
mkdir deps
|
||||
mv bin/evmone.dll deps
|
Loading…
Reference in New Issue
Block a user