Azure test (#492)

* Azure test

* can't build libnimbus on Windows
This commit is contained in:
Ștefan Talpalaru 2020-04-16 03:31:00 +02:00 committed by GitHub
parent 1694f7097f
commit 9c0922cc16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# Nimbus: an Ethereum 2.0 Sharding Client for Resource-Restricted Devices # 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) [![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: 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) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

View File

@ -58,16 +58,14 @@ jobs:
git submodule --quiet update --init --recursive git submodule --quiet update --init --recursive
mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} CI_CACHE=NimBinaries update mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} CI_CACHE=NimBinaries update
mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} fetch-dlls mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} fetch-dlls
mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM}
build/nimbus.exe --help
# fail fast # fail fast
export NIMTEST_ABORT_ON_ERROR=1 export NIMTEST_ABORT_ON_ERROR=1
mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} test mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} test test-reproducibility wakusim
if [[ $PLATFORM == "x86" ]]; then
mingw32-make -j2 test-reproducibility
fi
# Disable libnimbus builds until https://github.com/nim-lang/Nim/issues/12759 is fixed. # 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. # 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.so
# mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} libnimbus.a # mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} libnimbus.a
mingw32-make -j2 ARCH_OVERRIDE=${PLATFORM} wakusim
displayName: 'build and test' displayName: 'build and test'