-
Notifications
You must be signed in to change notification settings - Fork 1
60 lines (49 loc) · 1.55 KB
/
wheels.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
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Build wheels
on: [push, pull_request]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
steps:
## Used to host cibuildwheel
#- uses: actions/setup-python@v3
- name: Checkout self
uses: actions/checkout@v4
- name: Checkout ughub
uses: actions/checkout@v4
with:
repository: UG4/ughub
path: ughub
- name: Install UG4 packages
run: |
python ughub/ughub.py init
python ughub/ughub.py install Limex
#- name: Checkout ugcore
# uses: actions/checkout@v4
# with:
# repository: UG4/ugcore
# path: ugcore
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BUILD_VERBOSITY: 1
CIBW_REPAIR_WHEEL_COMMAND: ''
CIBW_BUILD: cp310-*
# Skip builds for 32-bit builds and some others...
CIBW_SKIP: "*-win32 *musllinux* *linux_i686 *linux_s390x *linux_aarch64 *linux_s390x"
# env:
# CIBW_SOME_OPTION: value
# ...
with:
package-dir: .
output-dir: wheelhouse
# config-file: "pyproject.toml"
config-file: "{package}/pyproject.toml"
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl