diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2018-07-09 09:11:25 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2018-07-09 09:11:25 -0500 |
| commit | b8670b1bf1ccfca0b07ae360dfa93f3980927b7c (patch) | |
| tree | bf0bcfe74c37cc164d0acb25f26273beae63acb2 | |
| parent | c7012369beffb33a9dbcc834b49c2cb065953489 (diff) | |
| download | nimgen-b8670b1bf1ccfca0b07ae360dfa93f3980927b7c.tar.gz nimgen-b8670b1bf1ccfca0b07ae360dfa93f3980927b7c.zip | |
Setup CI
| -rw-r--r-- | appveyor.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/appveyor.yml b/appveyor.yml index b13e213..c090ead 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -18,15 +18,16 @@ environment: NIM_VERSION: nim-0.18.0 DLLS_URL: http://nim-lang.org/download/dlls.zip DLLS_ARCHIVE: dlls.zip + BASE_DIR: c:\projects platform: x86 install: - - MKDIR %CD%\DIST + - CD %BASE_DIR% - IF not exist "%MINGW_ARCHIVE%" appveyor DownloadFile "%MINGW_URL%" -FileName "%MINGW_ARCHIVE%" - - 7z x -y "%MINGW_ARCHIVE%" -o"%CD%\DIST"> nul + - 7z x -y "%MINGW_ARCHIVE%"> nul - 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%\bin;%USERPROFILE%\.nimble\bin;%PATH% + - 7z x -y "%NIM_ARCHIVE%"> nul + - SET PATH=%BASE_DIR%\%MINGW_DIR%\BIN;%BASE_DIR%\%NIM_VERSION%\bin;%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 |
