Skip to content

platform.system()

platform.system() #3

Workflow file for this run

name: Build wheels
on:
# allows running workflows manually
workflow_dispatch:
pull_request:
branches:
- develop
paths-ignore:
- docs/**
push:
branches:
- scikit-build-core
paths-ignore:
- docs/**
jobs:
main:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, macos-14]
steps:
- name: Additional macOS settings
if: matrix.os == 'macos-13' || matrix.os == 'macos-14'
shell: bash -l {0}
run: |
echo "FC=$(which gfortran-13)" >> $GITHUB_ENV
# hdf5 is needed for building tables
brew install hdf5
- name: Checkout repository
uses: actions/checkout@v4
- name: Build wheels
uses: pypa/cibuildwheel@v2.18.0
env:
CIBW_BUILD_VERBOSITY: 1
with:
package-dir: .
output-dir: wheelhouse
config-file: "{package}/pyproject.toml"
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl