appveyor.yml 988 B

1234567891011121314151617181920212223242526272829303132333435363738
  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.7z
  7. MINGW_ARCHIVE: mingw64.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. - openssl version
  27. - openssl version -d
  28. - bin\nim c koch
  29. - koch runCI
  30. deploy: off