Skip to content

Commit

Permalink
Added appveyor CI for windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lejafar committed Aug 19, 2018
1 parent de4c0ee commit 4adae65
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
20 changes: 20 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion openctm/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.6'
__version__ = '1.0.0rc0'
6 changes: 6 additions & 0 deletions travis/build-openctm-win.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4adae65

Please sign in to comment.