forked from keitaroyam/servalcat
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (38 loc) · 1.08 KB
/
wheels2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 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