-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 1.09 KB
/
wheely_manylinux_2_24.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
# .github/workflows/wheely_manylinux_2_24.yml
name: Maturin Test
on:
workflow_dispatch:
inputs:
branch:
description: 'Branch to run the workflow on'
required: true
default: 'main'
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.10', '3.11']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Build with Maturin
uses: PyO3/maturin-action@v1
with:
command: build
args: --release --interpreter python${{ matrix.python-version }}
manylinux: auto
rust-toolchain: nightly
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: wheels
path: target/wheels
if-no-files-found: error # 'warn' or 'ignore' are also available, 'error' will fail the action if no files are found