appveyor.yml 957 B

123456789101112131415161718192021222324252627282930313233343536
  1. version: '{build}'
  2. environment:
  3. DLLS_URL: https://nim-lang.org/download/dlls.zip
  4. DLLS_ARCHIVE: dlls.zip
  5. MINGW_DIR: mingw64
  6. MINGW_URL: https://nim-lang.org/download/mingw64-6.3.0.7z
  7. MINGW_ARCHIVE: mingw64-6.3.0.7z
  8. matrix:
  9. - NIM_TEST_PACKAGES: false
  10. - NIM_TEST_PACKAGES: true
  11. cache:
  12. - '%MINGW_ARCHIVE%'
  13. - '%DLLS_ARCHIVE%'
  14. install:
  15. - ps: Install-Product node 8 # node 8 or later is required to test js async stuff
  16. - IF not exist "%DLLS_ARCHIVE%" appveyor DownloadFile "%DLLS_URL%" -FileName "%DLLS_ARCHIVE%"
  17. - 7z x -y "%DLLS_ARCHIVE%" -o"%CD%\BIN"> nul
  18. - IF not exist "%MINGW_ARCHIVE%" appveyor DownloadFile "%MINGW_URL%" -FileName "%MINGW_ARCHIVE%"
  19. - 7z x -y "%MINGW_ARCHIVE%" -o"%CD%\DIST"> nul
  20. - SET PATH=%CD%\DIST\%MINGW_DIR%\BIN;%CD%\BIN;%PATH%
  21. - git clone --depth 1 https://github.com/nim-lang/csources
  22. - cd csources
  23. - build64.bat
  24. - cd ..
  25. build_script:
  26. - bin\nim c koch
  27. - koch runCI
  28. deploy: off