From 3a8677099ea370145ca7292ebaab932f561dd280 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 14 Jun 2019 19:38:14 +0200 Subject: [PATCH] Add Appveyor CI: run tests and build wheels for Windows --- .appveyor.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..20d05a2 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,16 @@ +environment: + CIBW_BUILD: cp34-* cp35-* cp36-* cp37-* + CIBW_BUILD_VERBOSITY: 3 + CIBW_TEST_COMMAND: cd {project} && python setup.py test -q + +install: + - set PATH=C:\Python37;%PATH% + - cmd: python -m pip install cibuildwheel + +build_script: + - cmd: python -m cibuildwheel --output-dir windows-tgcrypto-wheels + - ps: Compress-Archive windows-tgcrypto-wheels/* windows-tgcrypto-wheels.zip + +artifacts: + - path: "windows-tgcrypto-wheels.zip" + name: wheels \ No newline at end of file