Re-weight categorical features in the GFR algorithm #35
This file contains hidden or 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
name: Build Python Wheels for PyPI | |
# Note: this file is based in part on the example workflow in the cibuildwheel docs | |
# https://cibuildwheel.pypa.io/en/stable/setup/#github-actions | |
# and in part on matplotlib's wheel build workflow: | |
# https://github.com/matplotlib/matplotlib/blob/main/.github/workflows/cibuildwheel.yml | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
build_wheels: | |
name: Build wheels on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-latest | |
cibw_archs: "x86_64" | |
- os: ubuntu-24.04-arm | |
cibw_archs: "aarch64" | |
- os: windows-latest | |
cibw_archs: "auto64" | |
- os: macos-13 | |
cibw_archs: "x86_64" | |
- os: macos-14 | |
cibw_archs: "arm64" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Build wheels | |
uses: pypa/cibuildwheel@v2.23.2 | |
env: | |
CIBW_SKIP: "pp* *-musllinux_* *-win32" | |
CIBW_ARCHS: ${{ matrix.cibw_archs }} | |
MACOSX_DEPLOYMENT_TARGET: "10.13" | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: cibw-wheels-${{ matrix.os }}-${{ matrix.cibw_archs }} | |
path: ./wheelhouse/*.whl |