Skip to content

Commit

Permalink
fix: remove windows python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
liufang-robot committed Jun 4, 2024
1 parent 23f348b commit 4b7fb69
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 20 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/windows_python_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,22 +89,22 @@ jobs:
run: cmake --build build --config release
- name: Upload Pypi
run: twine upload --skip-existing --verbose -u __token__ -p ${{ secrets.PYLEBAI }} build/python/dist/*.whl
windows_cp312_release:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Check cmake
run: cmake --version
- name: Install python-dev-tools
run: python.exe -m pip install python-dev-tools setuptools wheel twine markdown
# windows_cp312_release:
# runs-on: windows-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - uses: actions/setup-python@v4
# with:
# python-version: '3.12'
# - name: Check cmake
# run: cmake --version
# - name: Install python-dev-tools
# run: python.exe -m pip install python-dev-tools setuptools wheel twine markdown

- name: CMake configure
run: cmake -S. -Bbuild -G "Visual Studio 17 2022" -DBUILD_PYTHON=ON -DBUILD_DOCUMENTATION=OFF
- name: CMake build
run: cmake --build build --config release
- name: Upload Pypi
run: twine upload --skip-existing -u __token__ -p ${{secrets.PYLEBAI2024}} build/python/dist/*.whl
# - name: CMake configure
# run: cmake -S. -Bbuild -G "Visual Studio 17 2022" -DBUILD_PYTHON=ON -DBUILD_DOCUMENTATION=OFF
# - name: CMake build
# run: cmake --build build --config release
# - name: Upload Pypi
# run: twine upload --skip-existing -u __token__ -p ${{secrets.PYLEBAI2024}} build/python/dist/*.whl
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()

project(lebai VERSION 1.1.23 LANGUAGES CXX)
project(lebai VERSION 1.1.24 LANGUAGES CXX)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

Expand Down
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "lebai sdk"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 1.1.23
PROJECT_NUMBER = 1.1.24

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
3 changes: 3 additions & 0 deletions doc/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# ChangeLog

## 1.1.24
暂时移除windows上python3.12生成。

## 1.1.23
修正pypi生成的问题。

Expand Down

0 comments on commit 4b7fb69

Please sign in to comment.