appveyor.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. matrix:
  15. #allow_failures:
  16. # - NIM_TEST_PACKAGES: true
  17. fast_finish: true
  18. install:
  19. - ps: Install-Product node 8 # node 8 or later is required to test js async stuff
  20. - IF not exist "%DLLS_ARCHIVE%" appveyor DownloadFile "%DLLS_URL%" -FileName "%DLLS_ARCHIVE%"
  21. - 7z x -y "%DLLS_ARCHIVE%" -o"%CD%\BIN"> nul
  22. - IF not exist "%MINGW_ARCHIVE%" appveyor DownloadFile "%MINGW_URL%" -FileName "%MINGW_ARCHIVE%"
  23. - 7z x -y "%MINGW_ARCHIVE%" -o"%CD%\DIST"> nul
  24. - SET PATH=%CD%\DIST\%MINGW_DIR%\BIN;%CD%\BIN;%PATH%
  25. - git clone --depth 1 https://github.com/nim-lang/csources
  26. - cd csources
  27. - build64.bat
  28. - cd ..
  29. build_script:
  30. - bin\nim c koch
  31. - koch runCI
  32. deploy: off