-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
45 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name: build-linux | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# push: | ||
# branches: | ||
# - main | ||
release: | ||
types: | ||
- published | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name: build-macos | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# push: | ||
# branches: | ||
# - main | ||
release: | ||
types: | ||
- published | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name: build-windows | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# push: | ||
# branches: | ||
# - main | ||
release: | ||
types: | ||
- published | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,19 +31,38 @@ jobs: | |
if: matrix.os != 'windows-latest' | ||
run: rm -rf /opt/hostedtoolcache | ||
|
||
# Build wheel for windows X86_64 and ARM64 | ||
- name: Build wheels in windows (X86_64, ARM64) Python ${{ matrix.python-version }} | ||
# Build wheel for windows X86_64 | ||
- name: Build wheels in windows (X86_64) Python ${{ matrix.python-version }} | ||
if: matrix.os == 'windows-latest' | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS_WINDOWS: "AMD64 x86 ARM64" | ||
CIBW_BUILD: "${{ matrix.python-version }}-win_amd64 ${{ matrix.python-version }}-win_arm64" | ||
CIBW_ARCHS_WINDOWS: "AMD64 x86" | ||
CIBW_BUILD: "${{ matrix.python-version }}-win_amd64" | ||
CIBW_SKIP: "pp* cp36-* cp37-* cp38-*" | ||
CIBW_BUILD_VERBOSITY: 3 | ||
CIBW_BEFORE_BUILD_WINDOWS: "pip install delvewheel" | ||
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}" | ||
with: | ||
output-dir: wheelhouse | ||
|
||
# Build wheel for windows ARM64 (DO NOT USE) | ||
# Note: DO NOT build ARM64 for windows. The reason is that this github runner is an X86_64 | ||
# machine. To build ARM64 wheels, cibuildwheels uses "cross compiling". This is supported | ||
# possible when the build tool is "setuptools". But currently, it is not supported using meson.build. | ||
# Since, this package uses meson.build, as such, cross compiling for ARM64 is not possible. | ||
# To read more, see: https://cibuildwheel.readthedocs.io/en/stable/faq/#windows-arm64 | ||
# - name: Build wheels in windows (ARM64) Python ${{ matrix.python-version }} | ||
# if: matrix.os == 'windows-latest' | ||
# uses: pypa/[email protected] | ||
# env: | ||
# CIBW_ARCHS_WINDOWS: "ARM64" | ||
# CIBW_BUILD: "${{ matrix.python-version }}-win_arm64" | ||
# CIBW_SKIP: "pp37-* cp36-* cp37-* cp38-*" | ||
# CIBW_BUILD_VERBOSITY: 3 | ||
# CIBW_BEFORE_BUILD_WINDOWS: "pip install delvewheel" | ||
# CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}" | ||
# with: | ||
# output-dir: wheelhouse | ||
|
||
# Build wheel for macos X86_64. | ||
# Note that wheels for macos ARM64 will be built on cirrus ci (see /tools/ci) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name: docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# push: | ||
# branches: | ||
# - main | ||
pull_request: | ||
branches: | ||
- main | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name: deploy-pypi | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# push: | ||
# branches: | ||
# - main | ||
release: | ||
types: | ||
- published | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters