From b0411c1bf68a0acff4e5b253dec97332c734498e Mon Sep 17 00:00:00 2001 From: Danno Ferrin Date: Fri, 27 Nov 2020 22:00:45 -0700 Subject: [PATCH] restore windows sanity check (#1626) Restores windows sanity check we speculatively removed during CI troubleshooting. Signed-off-by: Danno Ferrin --- .circleci/config.yml | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 43220f41c8..a0f220dfd7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,8 @@ --- version: 2.1 +orbs: + win: circleci/windows@2.2.0 + executors: besu_executor_med: # 2cpu, 4G ram docker: @@ -17,7 +20,7 @@ executors: - image: circleci/openjdk:11.0.8-jdk-buster auth: username: $DOCKER_USER_RO - password: $DOCKER_PASSWORD_RO + password: $DOCKER_PASSWORD_RO resource_class: xlarge working_directory: ~/project environment: @@ -99,6 +102,25 @@ jobs: path: build/distributions destination: distributions when: always + testWindows: + executor: win/default + steps: + - attach_workspace: + at: ~/project + - run: + name: Unzip Windows build + no_output_timeout: 20m + command: | + cd build/distributions + unzip besu-*.zip -d besu-tmp + cd besu-tmp + mv besu-* ../besu + - run: + name: Test Besu Windows executable + no_output_timeout: 10m + command: | + build\distributions\besu\bin\besu.bat --help + build\distributions\besu\bin\besu.bat --version unitTests: executor: besu_executor_xl @@ -234,7 +256,10 @@ workflows: requires: - assemble context: - - besu-dockerhub-ro + - besu-dockerhub-ro + - testWindows: + requires: + - assemble - referenceTests: requires: - assemble