diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2018-07-08 21:31:09 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2018-07-08 21:31:09 -0500 |
| commit | 1aab352f035a91784d4ee10875357f8f7c74b712 (patch) | |
| tree | 82864d69a65f4b4275ca84437c4cc3a2671132ce | |
| parent | 30e5da82a0ef2ee42ef790c5b0d457e09da0a4bd (diff) | |
| download | nimgen-1aab352f035a91784d4ee10875357f8f7c74b712.tar.gz nimgen-1aab352f035a91784d4ee10875357f8f7c74b712.zip | |
Setup CI
| -rw-r--r-- | appveyor.yml | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/appveyor.yml b/appveyor.yml index b6f9f61..bfc1906 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,7 +2,8 @@ version: '{build}' cache: - i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z -- dlls.zip +- nim-0.18.0_x32.zip +# - dlls.zip matrix: fast_finish: true @@ -12,6 +13,9 @@ environment: - MINGW_DIR: mingw32 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/download MINGW_ARCHIVE: i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z + NIM_URL: https://nim-lang.org/download/nim-0.18.0_x32.zip + NIM_ARCHIVE: nim-0.18.0_x32.zip + NIM_VERSION: nim-0.18.0 DLLS_URL: http://nim-lang.org/download/dlls.zip DLLS_ARCHIVE: dlls.zip platform: x86 @@ -20,20 +24,22 @@ install: - MKDIR %CD%\DIST - IF not exist "%MINGW_ARCHIVE%" appveyor DownloadFile "%MINGW_URL%" -FileName "%MINGW_ARCHIVE%" - 7z x -y "%MINGW_ARCHIVE%" -o"%CD%\DIST"> nul - - SET PATH=%CD%\DIST\%MINGW_DIR%\BIN;%CD%\BIN;%PATH% - - git clone --depth 1 https://github.com/nim-lang/nim - - cd nim - - git clone --depth 1 https://github.com/nim-lang/csources - - cd csources - - IF "%PLATFORM%" == "x64" ( build64.bat ) else ( build.bat ) - - cd .. - - IF not exist "%DLLS_ARCHIVE%" appveyor DownloadFile "%DLLS_URL%" -FileName "%DLLS_ARCHIVE%" - - 7z x -y "%DLLS_ARCHIVE%" -o"%CD%\bin" - - bin\nim c -d:release koch - - koch boot -d:release - - koch nimble -d:release - - SET PATH=%CD%\bin;%PATH% - - cd .. + - IF not exist "%NIM_ARCHIVE%" appveyor DownloadFile "%NIM_URL%" -FileName "%NIM_ARCHIVE%" + - 7z x -y "%NIM_ARCHIVE%" -o"%CD%\DIST"> nul + - SET PATH=%CD%\DIST\%MINGW_DIR%\BIN;%CD%\DIST\%NIM_VERSION%;%USERPROFILE%\.nimble\bin;%PATH% + # - git clone --depth 1 https://github.com/nim-lang/nim + # - cd nim + # - git clone --depth 1 https://github.com/nim-lang/csources + # - cd csources + # - IF "%PLATFORM%" == "x64" ( build64.bat ) else ( build.bat ) + # - cd .. + # - IF not exist "%DLLS_ARCHIVE%" appveyor DownloadFile "%DLLS_URL%" -FileName "%DLLS_ARCHIVE%" + # - 7z x -y "%DLLS_ARCHIVE%" -o"%CD%\bin"> nul + # - bin\nim c -d:release koch + # - koch boot -d:release + # - koch nimble -d:release + # - SET PATH=%CD%\bin;%PATH% + # - cd .. build_script: - nimble install -y |
