Skip to content

Commit b15d5f5

Browse files
committed
restore platform
Signed-off-by: Tony Xiang <[email protected]>
1 parent 0b4f507 commit b15d5f5

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,14 @@ jobs:
105105
build-and-test-python:
106106
strategy:
107107
matrix:
108-
os: [ ubuntu-latest, macos-latest, windows-latest ]
108+
platform: [ linux, macos, windows ]
109+
include:
110+
- platform: linux
111+
os: ubuntu-latest
112+
- platform: macos
113+
os: macos-latest
114+
- platform: windows
115+
os: windows-latest
109116

110117
runs-on: ${{ matrix.os }}
111118
needs: [build-cpp-test-linux, build-cpp-test-windows, build-cpp-test-macos]
@@ -114,7 +121,7 @@ jobs:
114121
- uses: actions/checkout@v3
115122

116123
- name: Set up QEMU
117-
if: matrix.os == 'ubuntu-latest'
124+
if: matrix.platform == 'linux'
118125
uses: docker/setup-qemu-action@v2
119126

120127
- name: Build wheels

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ build-verbosity = 1
9191
test-extras = ["dev"]
9292
test-command = "pytest {package}/tests"
9393

94-
9594
[tool.cibuildwheel.linux]
9695
build = ["cp*-manylinux_x86_64", "cp*-manylinux_aarch64"]
9796
archs = ["x86_64", "aarch64"]

0 commit comments

Comments
 (0)