Skip to content

Commit

Permalink
Use windows 2019 to build wheels for 64-bit windows (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Jul 8, 2024
1 parent dca5e8a commit 3bb113a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/build-wheels-win64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit 3bb113a

Please sign in to comment.