From 044ee3cb996adf5eaed252b735e2fe321a849cb4 Mon Sep 17 00:00:00 2001 From: bxdd Date: Wed, 30 Sep 2020 14:01:40 +0800 Subject: [PATCH] add the publishing CI for macos --- .github/workflows/python-publish.yml | 10 +++++----- README.md | 2 +- setup.py | 3 ++- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index bf41de53b..9ce2e8fb4 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -8,11 +8,11 @@ on: types: [created] jobs: - deploy_windows: - - runs-on: windows-latest + deploy_with_bdist_wheel: + runs-on: ${{ matrix.os }} strategy: matrix: + os: [windows-latest, macos-latest] python-version: [3.6, 3.7, 3.8] steps: @@ -37,7 +37,7 @@ jobs: run: | twine upload dist/* - deploy_linux: + deploy_with_manylinux: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -58,4 +58,4 @@ jobs: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | - twine upload dist/pyqlib-*-manylinux*.whl + twine upload dist/pyqlib-*-manylinux*.whl \ No newline at end of file diff --git a/README.md b/README.md index d88f81b3d..2380c8aee 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![Python Versions](https://img.shields.io/pypi/pyversions/pyqlib.svg?logo=python&logoColor=white)](https://pypi.org/project/pyqlib/#files) -[![Platform](https://img.shields.io/badge/platform-linux%20%7C%20windows-lightgrey)](https://pypi.org/project/pyqlib/#files) +[![Platform](https://img.shields.io/badge/platform-linux%20%7C%20windows%20%7C%20macos-lightgrey)](https://pypi.org/project/pyqlib/#files) [![PypI Versions](https://img.shields.io/pypi/v/pyqlib)](https://pypi.org/project/pyqlib/#files) [![Documentation Status](https://readthedocs.org/projects/qlib/badge/?version=latest)](https://qlib.readthedocs.io/en/latest/?badge=latest) [![License](https://img.shields.io/pypi/l/pyqlib)](https://github.com/microsoft/qlib/blob/main/LICENSE) diff --git a/setup.py b/setup.py index 703f840fd..a3f39b866 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ from setuptools import find_packages, setup, Extension NAME = "pyqlib" DESCRIPTION = "A Quantitative-research Platform" REQUIRES_PYTHON = ">=3.5.0" -VERSION = "0.5.0.dev7" +VERSION = "0.5.0.dev10" # Detect Cython try: @@ -109,6 +109,7 @@ setup( # 'License :: OSI Approved :: MIT License', "Operating System :: POSIX :: Linux", "Operating System :: Microsoft :: Windows", + "Operating System :: MacOS", "License :: OSI Approved :: MIT License", "Development Status :: 3 - Alpha", "Programming Language :: Python",