|
|
|
@ -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 |
|
|
|
|