Skip to content

Commit 3bb113a

Browse files
authored
Use windows 2019 to build wheels for 64-bit windows (#65)
1 parent dca5e8a commit 3bb113a

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

.github/workflows/build-wheels-win64.yaml

+17-9
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,27 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
os: [windows-latest]
24-
python-version: ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312"]
23+
os: [windows-2019]
24+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
2525

2626
steps:
2727
- uses: actions/checkout@v4
2828

29-
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
30-
# for a list of versions
29+
- name: Setup Python ${{ matrix.python-version }}
30+
uses: actions/setup-python@v5
31+
with:
32+
python-version: ${{ matrix.python-version }}
33+
3134
- name: Build wheels
32-
uses: pypa/cibuildwheel@v2.16.5
33-
env:
34-
CIBW_BUILD: "${{ matrix.python-version}}-* "
35-
CIBW_SKIP: "cp27-* cp35-* *-win32 pp* *-musllinux*"
36-
CIBW_BUILD_VERBOSITY: 3
35+
shell: bash
36+
run: |
37+
pip install setuptools wheel
38+
39+
python3 setup.py bdist_wheel
40+
41+
ls -lh ./dist/
42+
43+
mv dist wheelhouse
3744
3845
- name: Display wheels
3946
shell: bash
@@ -42,6 +49,7 @@ jobs:
4249
4350
- uses: actions/upload-artifact@v2
4451
with:
52+
name: ${{ matrix.os }}-${{ matrix.python-version }}
4553
path: ./wheelhouse/*.whl
4654

4755
- name: Publish wheels to PyPI

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
1313

1414
project(kaldifst CXX)
1515

16-
set(KALDIFST_VERSION "1.7.11")
16+
set(KALDIFST_VERSION "1.7.12")
1717

1818
# Disable warning about
1919
#

0 commit comments

Comments
 (0)