@@ -27,6 +27,9 @@ parameters:
27
27
type : string
28
28
default : " solbuildpackpusher/solidity-buildpack-deps@sha256:23dad3b34deae8107c8551804ef299f6a89c23ed506e8118fac151e2bdc9018c"
29
29
30
+ orbs :
31
+ win : circleci/windows@2.2.0
32
+
30
33
defaults :
31
34
32
35
# --------------------------------------------------------------------------
@@ -64,6 +67,10 @@ defaults:
64
67
path : build/solc/solc
65
68
destination : solc
66
69
70
+ # windows artifacts
71
+ - artifact_solc_windows : &artifact_solc_windows
72
+ path : upload/
73
+
67
74
# compiled tool executable target
68
75
- artifacts_tools : &artifacts_tools
69
76
path : build/tools/solidity-upgrade
@@ -876,6 +883,29 @@ jobs:
876
883
- run : *gitter_notify_failure
877
884
- run : *gitter_notify_success
878
885
886
+ b_win :
887
+ executor :
888
+ name : win/default
889
+ shell : powershell.exe
890
+ steps :
891
+ - checkout
892
+ - restore_cache :
893
+ keys :
894
+ - dependencies-win-{{ checksum "scripts/install_deps.ps1" }}
895
+ - run :
896
+ name : " Installing dependencies"
897
+ command : if ( -not (Test-Path .\deps\boost) ) { .\scripts\install_deps.ps1 }
898
+ - save_cache :
899
+ key : dependencies-win-{{ checksum "scripts/install_deps.ps1" }}
900
+ paths :
901
+ - .\deps\boost
902
+ - .\deps\cmake
903
+ - run :
904
+ name : " Building solidity"
905
+ command : .circleci/build_win.ps1
906
+ - store_artifacts : *artifact_solc_windows
907
+ - persist_to_workspace : *artifacts_build_dir
908
+
879
909
workflows :
880
910
version : 2
881
911
@@ -927,6 +957,9 @@ workflows:
927
957
- t_ems_compile_ext_gnosis : *workflow_emscripten
928
958
- t_ems_compile_ext_zeppelin : *workflow_emscripten
929
959
960
+ # Windows build and tests
961
+ - b_win : *workflow_trigger_on_tags
962
+
930
963
nightly :
931
964
932
965
triggers :
0 commit comments