From 9c0922cc160d3d8482613df48c8bc8d71abbb2b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Thu, 16 Apr 2020 03:31:00 +0200 Subject: [PATCH] Azure test (#492) * Azure test * can't build libnimbus on Windows --- README.md | 2 +- azure-pipelines.yml | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ca3a93b0f..81194c9ed 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Nimbus: an Ethereum 2.0 Sharding Client for Resource-Restricted Devices -[![Windows build status (Appveyor)](https://img.shields.io/appveyor/ci/nimbus/nimbus/master.svg?label=Windows "Windows build status (Appveyor)")](https://ci.appveyor.com/project/nimbus/nimbus) +[![Build Status (Azure Pipelines)](https://dev.azure.com/nimbus-dev/nimbus/_apis/build/status/status-im.nimbus?branchName=master)](https://dev.azure.com/nimbus-dev/nimbus/_build/latest?definitionId=6&branchName=master) [![Build Status (Travis)](https://img.shields.io/travis/status-im/nimbus/master.svg?label=Linux%20/%20macOS "Linux/macOS build status (Travis)")](https://travis-ci.org/status-im/nimbus) [![License: Apache](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7f55b984f..a48da3763 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -58,16 +58,14 @@ jobs: git submodule --quiet update --init --recursive mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} CI_CACHE=NimBinaries update mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} fetch-dlls + mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} + build/nimbus.exe --help # fail fast export NIMTEST_ABORT_ON_ERROR=1 - mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} test - if [[ $PLATFORM == "x86" ]]; then - mingw32-make -j2 test-reproducibility - fi + mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} test test-reproducibility wakusim # Disable libnimbus builds until https://github.com/nim-lang/Nim/issues/12759 is fixed. # Wrapper builds could then also get activated instead but need some rework for Windows. # mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} libnimbus.so # mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} libnimbus.a - mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} wakusim displayName: 'build and test'