restore windows sanity check (#1626)

Restores windows sanity check we speculatively removed during CI
troubleshooting.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
pull/1637/head
Danno Ferrin 4 years ago committed by GitHub
parent 1e73ab77d4
commit b0411c1bf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 29
      .circleci/config.yml

@ -1,5 +1,8 @@
--- ---
version: 2.1 version: 2.1
orbs:
win: circleci/windows@2.2.0
executors: executors:
besu_executor_med: # 2cpu, 4G ram besu_executor_med: # 2cpu, 4G ram
docker: docker:
@ -17,7 +20,7 @@ executors:
- image: circleci/openjdk:11.0.8-jdk-buster - image: circleci/openjdk:11.0.8-jdk-buster
auth: auth:
username: $DOCKER_USER_RO username: $DOCKER_USER_RO
password: $DOCKER_PASSWORD_RO password: $DOCKER_PASSWORD_RO
resource_class: xlarge resource_class: xlarge
working_directory: ~/project working_directory: ~/project
environment: environment:
@ -99,6 +102,25 @@ jobs:
path: build/distributions path: build/distributions
destination: distributions destination: distributions
when: always 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: unitTests:
executor: besu_executor_xl executor: besu_executor_xl
@ -234,7 +256,10 @@ workflows:
requires: requires:
- assemble - assemble
context: context:
- besu-dockerhub-ro - besu-dockerhub-ro
- testWindows:
requires:
- assemble
- referenceTests: - referenceTests:
requires: requires:
- assemble - assemble

Loading…
Cancel
Save