-
Notifications
You must be signed in to change notification settings - Fork 55
42 lines (37 loc) · 905 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
name: build wheels
permissions:
contents: read
on:
push:
branches:
- main
jobs:
build:
if: github.repository == 'john-science/mazelib'
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
- name: Archive PIP wheel artifacts
uses: actions/upload-artifact@v4
with:
name: mazelib-wheels
path: |
dist/mazelib*.whl
retention-days: 5