1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00

test build package with macos-15

This commit is contained in:
Linlang
2024-12-20 11:55:29 +08:00
parent 6a123db109
commit 5dfc661fc3

View File

@@ -3,16 +3,22 @@
name: Upload Python Package name: Upload Python Package
# on:
# release:
# types: [published]
on: on:
release: push:
types: [published] branches: [ main ]
pull_request:
branches: [ main ]
jobs: jobs:
deploy_with_bdist_wheel: deploy_with_bdist_wheel:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [windows-latest, macos-13, macos-latest] os: [windows-latest, macos-13, macos-latest, macos-15]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
exclude: exclude:
- os: macos-13 - os: macos-13
@@ -39,7 +45,6 @@ jobs:
run: | run: |
ls dist ls dist
twine check dist/*.whl twine check dist/*.whl
twine upload --repository-url https://test.pypi.org/legacy/ dist/*.whl --verbose
deploy_with_manylinux: deploy_with_manylinux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -66,5 +71,5 @@ jobs:
run: | run: |
ls dist ls dist
twine check dist/*.whl twine check dist/*.whl
twine upload --repository-url https://test.pypi.org/legacy/ dist/pyqlib-*-manylinux*.whl --verbose