diff options
| author | Inada Naoki <songofacandy@gmail.com> | 2019-12-03 17:46:28 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-03 17:46:28 +0900 |
| commit | cc3a8665d6210e933bcfb9120bd0ceb15224f03e (patch) | |
| tree | 8ca4b5059577c34fdc50b3fc219041e7e280bc29 /ci | |
| parent | 891f2d8743857bb75204f96b0469cb2ec90c7f79 (diff) | |
| download | msgpack-python-cc3a8665d6210e933bcfb9120bd0ceb15224f03e.tar.gz | |
Use Github Actions for Windows (#377)
Diffstat (limited to 'ci')
| -rw-r--r-- | ci/runtests.bat | 2 | ||||
| -rw-r--r-- | ci/runtests.sh | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/ci/runtests.bat b/ci/runtests.bat index 0240467..4ae2f70 100644 --- a/ci/runtests.bat +++ b/ci/runtests.bat @@ -2,7 +2,7 @@ %PYTHON%\python.exe setup.py build_ext -i
%PYTHON%\python.exe setup.py install
%PYTHON%\python.exe -c "import sys; print(hex(sys.maxsize))"
-%PYTHON%\python.exe -c "from msgpack import _packer, _unpacker"
+%PYTHON%\python.exe -c "from msgpack import _cmsgpack"
%PYTHON%\python.exe setup.py bdist_wheel
%PYTHON%\python.exe -m pytest -v test
SET EL=%ERRORLEVEL%
diff --git a/ci/runtests.sh b/ci/runtests.sh new file mode 100644 index 0000000..5d87f69 --- /dev/null +++ b/ci/runtests.sh @@ -0,0 +1,8 @@ +#!/bin/bash +set -ex +${PYTHON} -VV +${PYTHON} -m pip install setuptools wheel pytest +${PYTHON} setup.py build_ext -if +${PYTHON} -c "from msgpack import _cmsgpack" +${PYTHON} setup.py bdist_wheel +${PYTHON} -m pytest -v test |
