nim-secp256k1/.appveyor.yml

49 lines
1.8 KiB
YAML
Raw Normal View History

2018-03-28 09:57:07 +00:00
version: '{build}'
cache:
2018-03-28 10:40:14 +00:00
- nim-0.18.0_x64.zip
2018-03-28 09:57:07 +00:00
- x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z
2018-03-30 09:25:34 +00:00
- i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z
2018-03-28 10:40:14 +00:00
- packages -> **\packages.config
- '%LocalAppData%\NuGet\Cache -> **\packages.config'
2018-03-28 09:57:07 +00:00
matrix:
fast_finish: true
environment:
matrix:
2018-03-28 10:40:14 +00:00
- MINGW_ARCHIVE: x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z
MINGW_DIR: mingw64
# We need to hardcode a mirror otherwise the download fails
MINGW_URL: https://ayera.dl.sourceforge.net/project/mingw-w64/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
NIM_ARCHIVE: nim-0.18.0_x64.zip
NIM_DIR: nim-0.18.0
NIM_URL: https://nim-lang.org/download/nim-0.18.0_x64.zip
2018-03-28 09:57:07 +00:00
platform: x64
2018-03-28 10:40:14 +00:00
- MINGW_ARCHIVE: i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z
2018-03-30 09:25:34 +00:00
MINGW_DIR: mingw32
2018-03-28 10:40:14 +00:00
# We need to hardcode a mirror otherwise the download fails
2018-03-30 09:25:34 +00:00
MINGW_URL: https://netcologne.dl.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.2/threads-win32/dwarf/i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z
2018-03-28 10:40:14 +00:00
NIM_ARCHIVE: nim-0.18.0_x64.zip
NIM_DIR: nim-0.18.0
NIM_URL: https://nim-lang.org/download/nim-0.18.0_x32.zip
2018-03-28 09:57:07 +00:00
platform: x86
install:
2018-03-28 10:40:14 +00:00
- MKDIR %CD%\tools_tmp
2018-03-28 09:57:07 +00:00
- IF not exist "%MINGW_ARCHIVE%" appveyor DownloadFile "%MINGW_URL%" -FileName "%MINGW_ARCHIVE%"
2018-03-28 10:40:14 +00:00
- 7z x -y "%MINGW_ARCHIVE%" -o"%CD%\tools_tmp"> nul
- IF not exist "%NIM_ARCHIVE%" appveyor DownloadFile "%NIM_URL%" -FileName "%NIM_ARCHIVE%"
- 7z x -y "%NIM_ARCHIVE%" -o"%CD%\tools_tmp"> nul
- SET PATH=%CD%\tools_tmp\%NIM_DIR%\bin;%CD%\tools_tmp\%MINGW_DIR%\bin;%PATH%
- SET PATH=%PATH%;%CD%
2018-03-28 09:57:07 +00:00
build_script:
- nimble.exe refresh
test_script:
2018-03-28 10:48:32 +00:00
- git submodule update --init --recursive
2018-03-28 09:57:07 +00:00
- nimble.exe test
deploy: off