1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-18 01:44:34 +08:00

rewrite deploy with macos

This commit is contained in:
Linlang
2024-12-19 17:22:34 +08:00
parent d31d17e7aa
commit 36e2f66730

View File

@@ -109,10 +109,10 @@ jobs:
strategy: strategy:
matrix: matrix:
buildplat: buildplat:
- [macos-13, macosx_arm64, ""] - [macos-13, macosx_arm64]
- [macos-13, macosx_x86_64, ""] - [macos-13, macosx_x86_64]
- [macos-14, macosx_arm64, ""] - [macos-14, macosx_arm64]
- [macos-14, macosx_x86_64, ""] - [macos-14, macosx_x86_64]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@@ -120,6 +120,19 @@ jobs:
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
make dev
- name: Build wheel on ${{ matrix.os }}
run: |
make build
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }}
run: |
twine check dist/*.whl
# deploy_with_manylinux: # deploy_with_manylinux:
# runs-on: ubuntu-latest # runs-on: ubuntu-latest