2018-07-20 13:46:03 +00:00
|
|
|
version: '{build}'
|
|
|
|
|
2019-04-18 00:02:14 +00:00
|
|
|
image: Visual Studio 2015
|
|
|
|
|
2019-08-30 15:50:46 +00:00
|
|
|
init: # Scripts called at the very beginning
|
|
|
|
# Enable paths > 260 characters
|
|
|
|
- ps: Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value 1
|
|
|
|
- git config --global core.longpaths true
|
|
|
|
|
2018-07-20 13:46:03 +00:00
|
|
|
cache:
|
2019-08-14 11:19:17 +00:00
|
|
|
- NimBinaries
|
|
|
|
- jsonTestsCache
|
2018-07-20 13:46:03 +00:00
|
|
|
|
|
|
|
matrix:
|
2018-09-05 02:33:39 +00:00
|
|
|
# We always want 32 and 64-bit compilation
|
|
|
|
fast_finish: false
|
2018-07-20 13:46:03 +00:00
|
|
|
|
2018-09-05 02:33:39 +00:00
|
|
|
platform:
|
|
|
|
- x64
|
2019-09-12 11:33:07 +00:00
|
|
|
- x86
|
2018-07-20 13:46:03 +00:00
|
|
|
|
|
|
|
install:
|
2019-04-18 00:02:14 +00:00
|
|
|
# use the newest versions documented here: https://www.appveyor.com/docs/windows-images-software/#mingw-msys-cygwin
|
|
|
|
- IF "%PLATFORM%" == "x86" SET PATH=C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin;%PATH%
|
|
|
|
- IF "%PLATFORM%" == "x64" SET PATH=C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;%PATH%
|
2018-09-05 02:33:39 +00:00
|
|
|
|
2019-11-22 13:21:16 +00:00
|
|
|
# official test fixtures
|
2019-11-01 08:44:16 +00:00
|
|
|
- bash scripts\setup_official_tests.sh jsonTestsCache
|
2019-08-14 11:19:17 +00:00
|
|
|
|
2018-07-20 13:46:03 +00:00
|
|
|
build_script:
|
2019-08-21 12:45:24 +00:00
|
|
|
# the 32-bit build is done on a 64-bit image, so we need to override the architecture
|
|
|
|
- mingw32-make -j2 ARCH_OVERRIDE=%PLATFORM% CI_CACHE=NimBinaries update
|
2019-04-18 00:02:14 +00:00
|
|
|
|
2018-07-20 13:46:03 +00:00
|
|
|
test_script:
|
2020-04-15 12:38:42 +00:00
|
|
|
- mingw32-make -j2 ARCH_OVERRIDE=%PLATFORM% LOG_LEVEL=TRACE
|
2020-11-07 18:00:31 +00:00
|
|
|
- mingw32-make -j2 ARCH_OVERRIDE=%PLATFORM% LOG_LEVEL=TRACE NIMFLAGS="-d:testnet_servers_image" nimbus_beacon_node
|
2020-04-15 12:38:42 +00:00
|
|
|
- mingw32-make -j2 ARCH_OVERRIDE=%PLATFORM% DISABLE_TEST_FIXTURES_SCRIPT=1 test
|
2018-07-20 13:46:03 +00:00
|
|
|
|
|
|
|
deploy: off
|