diff --git a/.github/workflows/build-wheels-win64.yaml b/.github/workflows/build-wheels-win64.yaml index dc45b29..08b0f85 100644 --- a/.github/workflows/build-wheels-win64.yaml +++ b/.github/workflows/build-wheels-win64.yaml @@ -20,20 +20,27 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-latest] - python-version: ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312"] + os: [windows-2019] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 - # see https://cibuildwheel.readthedocs.io/en/stable/changelog/ - # for a list of versions + - name: Setup Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - name: Build wheels - uses: pypa/cibuildwheel@v2.16.5 - env: - CIBW_BUILD: "${{ matrix.python-version}}-* " - CIBW_SKIP: "cp27-* cp35-* *-win32 pp* *-musllinux*" - CIBW_BUILD_VERBOSITY: 3 + shell: bash + run: | + pip install setuptools wheel + + python3 setup.py bdist_wheel + + ls -lh ./dist/ + + mv dist wheelhouse - name: Display wheels shell: bash @@ -42,6 +49,7 @@ jobs: - uses: actions/upload-artifact@v2 with: + name: ${{ matrix.os }}-${{ matrix.python-version }} path: ./wheelhouse/*.whl - name: Publish wheels to PyPI diff --git a/CMakeLists.txt b/CMakeLists.txt index c0960ef..7bb75c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ cmake_minimum_required(VERSION 3.13 FATAL_ERROR) project(kaldifst CXX) -set(KALDIFST_VERSION "1.7.11") +set(KALDIFST_VERSION "1.7.12") # Disable warning about #