https://gitlab.com/AmosEgel/smuthi
Raw File
Tip revision: ce5711da5e409d5b80ace0c7183327694b904f58 authored by Alexey Kuznetsov on 27 December 2021, 12:58:11 UTC
Merge branch 'test-svwe-translation' into 'master'
Tip revision: ce5711d
.appveyor.yml
skip_non_tags: true

image:
  - Visual Studio 2019

environment:
  matrix:
    - PYTHON: "C:/Python36-x64"
      NPVERS: "1.19.3"
    - PYTHON: "C:/Python37-x64"
      NPVERS: "1.19.3"
    - PYTHON: "C:/Python38-x64"
      NPVERS: "1.19.3"
    - PYTHON: "C:/Python39-x64"
      NPVERS: "1.19.3"
  MINGW_DIR: C:/msys64/mingw64/bin
  LDFLAGS: "-Wl,--default-image-base-low"
  TESTPYPI_USER: AmosEgel
  PYPI_USER: AmosEgel
  TESTPYPI_PWD:
    secure: BxIrwW5b5AUWWmOklEUAJk83XKevFd+pmaxkg0TWoWk=  
  PYPI_PWD:    
    secure: 4jygsXrcki+7XGQvOuXx0YrJJBtBXqD8eIdV//8XKXM=

clone_depth: 5

init:
  - cmd: set PATH=%MINGW_DIR%;%PATH%

build: off

after_test:
  - "%PYTHON%\\python.exe -m pip install numpy==%NPVERS%"
  - "%PYTHON%\\python.exe -m pip install wheel"
  - "%PYTHON%\\python.exe setup.py prepare"
  - "%PYTHON%\\python.exe setup.py build_ext --inplace --compiler=mingw32 --fcompiler=gnu95 -f"
  - "%PYTHON%\\python.exe setup.py bdist_wheel"
 
artifacts:
  - path: dist\*
  
deploy_script:
  - "%PYTHON%\\python.exe -m pip install twine"
#  - "%PYTHON%\\python.exe -m twine upload -u %TESTPYPI_USER% -p %TESTPYPI_PWD% --repository testpypi --skip-existing dist/*.whl"
  - "%PYTHON%\\python.exe -m twine upload -u %PYPI_USER% -p %PYPI_PWD% --skip-existing dist/*.whl"

back to top