diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..79d1089 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,20 @@ +environment: + global: + CIBW_TEST_REQUIRES: nose + CIBW_TEST_COMMAND: "nosetests {project}\\tests" + TWINE_USERNAME=lejafar + # Note: TWINE_PASSWORD is set in Appveyor settings + +build_script: + - bash travis/build-openctm-win.sh + - pip install cibuildwheel==0.9.4 + - touch stub.cc + - cibuildwheel --output-dir wheelhouse + - ps: >- + if ($env:APPVEYOR_REPO_TAG -eq "true") { + python -m pip install twine + python -m twine upload (resolve-path wheelhouse\*.whl) + } +artifacts: + - path: "wheelhouse\\*.whl" + name: Wheels \ No newline at end of file diff --git a/openctm/version.py b/openctm/version.py index d163f47..baa4a76 100644 --- a/openctm/version.py +++ b/openctm/version.py @@ -1 +1 @@ -__version__ = '1.0.6' \ No newline at end of file +__version__ = '1.0.0rc0' \ No newline at end of file diff --git a/travis/build-openctm-win.sh b/travis/build-openctm-win.sh new file mode 100644 index 0000000..8075108 --- /dev/null +++ b/travis/build-openctm-win.sh @@ -0,0 +1,6 @@ +# ./build-openctm-win.sh + +git clone https://github.com/Danny02/OpenCTM.git openctm_tmp +mingw32-make -f Makefile.mingw +mkdir openctm/libs +mv openctm_tmp/lib/libopenctm.dll openctm/libs