Wheels2 #8
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
# Use cibuildwheel v2 to build wheels for Python 3. | |
# Based on https://cibuildwheel.readthedocs.io/en/stable/setup/ | |
name: Wheels2 | |
on: | |
workflow_dispatch: | |
inputs: | |
cibw_build: | |
description: 'CIBW_BUILD' | |
default: 'cp*' | |
jobs: | |
build_wheels: | |
name: Wheels on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-2022] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
# - name: checkout monomers | |
# uses: actions/checkout@v3 | |
# with: | |
# repository: MRC-LMB-ComputationalStructuralBiology/monomers | |
# path: monomers | |
- name: Build wheels | |
uses: pypa/[email protected] | |
env: | |
CIBW_BUILD: ${{ github.event.inputs.cibw_build }} | |
CIBW_SKIP: 'cp36-* *musllinux* *_i686 *-win32' | |
CIBW_ARCHS_MACOS: x86_64 arm64 | |
#CIBW_ENVIRONMENT: CLIBD_MON=/host/${{runner.workspace}}/servalcat/monomers | |
- run: ls -lh wheelhouse | |
shell: bash | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: wheels2 | |
path: wheelhouse/*.whl |