nimbus-eth1/.appveyor.yml

54 lines
1.7 KiB
YAML
Raw Normal View History

2018-04-10 16:51:17 +00:00
version: '{build}'
cache:
2018-09-05 03:01:33 +00:00
- x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z -> .appveyor.yml
- i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z -> .appveyor.yml
2018-04-10 16:51:17 +00:00
matrix:
2018-09-05 03:01:33 +00:00
# We always want 32 and 64-bit compilation
fast_finish: false
platform:
- x86
- x64
2018-04-10 16:51:17 +00:00
2019-02-16 00:29:50 +00:00
# when multiple CI builds are queued, the tested commit needs to be in the last X commits cloned with "--depth X"
clone_depth: 10
2018-04-10 16:51:17 +00:00
install:
- setlocal EnableExtensions EnableDelayedExpansion
2018-09-05 03:01:33 +00:00
- IF "%PLATFORM%" == "x86" (
SET "MINGW_ARCHIVE=i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z" &
SET "MINGW_URL=https://sourceforge.net/projects/mingw-w64/files/Toolchains%%20targetting%%20Win32/Personal%%20Builds/mingw-builds/4.9.2/threads-win32/dwarf/i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z" &
2019-02-16 01:15:06 +00:00
SET "MINGW_DIR=mingw32"
2018-09-05 03:01:33 +00:00
) ELSE (
IF "%PLATFORM%" == "x64" (
SET "MINGW_ARCHIVE=x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z" &
SET "MINGW_URL=https://sourceforge.net/projects/mingw-w64/files/Toolchains%%20targetting%%20Win64/Personal%%20Builds/mingw-builds/4.9.2/threads-win32/seh/x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z" &
2019-02-16 01:15:06 +00:00
SET "MINGW_DIR=mingw64"
2018-09-05 03:01:33 +00:00
) else (
echo "Unknown platform"
)
)
2019-02-16 00:29:50 +00:00
- SET "PATH=%CD%\%MINGW_DIR%\bin;%PATH%"
2018-09-05 03:01:33 +00:00
2019-02-16 00:29:50 +00:00
# download and unpack Mingw-w64
2018-09-05 03:01:33 +00:00
- IF NOT EXIST "%MINGW_ARCHIVE%" appveyor DownloadFile "%MINGW_URL%" -FileName "%MINGW_ARCHIVE%"
2018-04-10 16:51:17 +00:00
- 7z x -y "%MINGW_ARCHIVE%" > nul
2018-09-05 03:01:33 +00:00
2018-04-10 16:51:17 +00:00
build_script:
- cd C:\projects\%APPVEYOR_PROJECT_SLUG%
2019-02-16 00:29:50 +00:00
# speed up submodule cloning
- git submodule update --init --recursive --depth 10
- mingw32-make fetch-dlls
- mingw32-make -j2 nimbus
2018-04-10 16:51:17 +00:00
test_script:
- build\nimbus.exe --help
2019-02-16 00:29:50 +00:00
- mingw32-make -j2 test
2018-04-10 16:51:17 +00:00
deploy: off
2019-02-16 00:29:50 +00:00