appveyor.yml 960 B

1234567891011121314151617181920212223242526
  1. version: '{build}'
  2. environment:
  3. matrix:
  4. - compiler: msys2
  5. MSYS2_ARCH: x86_64
  6. MSYS2_DIR: msys64
  7. MINGW: MINGW64
  8. install:
  9. - 'SET PATH=C:\%MSYS2_DIR%\usr\bin;C:\%MSYS2_DIR%\%MINGW%\bin;%PATH%'
  10. - 'bash -lc "pacman --noprogressbar --noconfirm --needed -S mingw-w64-%MSYS2_ARCH%-{python3,gcc,lz4,python3-pip,cython,ntldd-git} git openssl"'
  11. - 'bash -lc "python3 -m pip install -U pip"'
  12. - 'pip3 install -r requirements.d/development.txt'
  13. - 'pip3 install setuptools_scm'
  14. build_script:
  15. - ps: $version = git describe --long
  16. - ps: Update-AppveyorBuild -Version $version
  17. - 'pip3 install -e .'
  18. - 'python3 deployment/windows/buildwin32.py'
  19. test_script:
  20. # python will return 0 so appveyor will pass the build
  21. - cmd: python3 -c "import pytest;pytest.main('--cov=borg --cov-config=.coveragerc --benchmark-skip --pyargs src/borg/testsuite')"
  22. artifacts:
  23. - path: win32exe
  24. name: windowsbuild
  25. type: zip