-
Notifications
You must be signed in to change notification settings - Fork 55
44 lines (39 loc) · 915 Bytes
/
wheels.yaml
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
name: build wheels
permissions:
contents: read
on:
push:
# branches:
# - main
pull_request:
# branches:
# - main
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.13"
- name: Update package index
run: sudo apt-get update
- name: Install PIP Packages
run: |
pip install -U pip
pip install -e .
- name: Build Wheels
run: |
pip install -U wheel
mkdir dist
pip wheel . -w dist/
rm dist/Cython*.whl
rm dist/numpy*.whl
auditwheel repair dist/mazelib*.whl -w .
- name: Archive PIP wheel artifacts
uses: actions/upload-artifact@v4
with:
name: wheels
path: |
dist/mazelib*.whl