mayatok 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,83 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+
8
+ jobs:
9
+ linux:
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ matrix:
13
+ target: [x86_64]
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - uses: PyO3/maturin-action@v1
17
+ with:
18
+ target: ${{ matrix.target }}
19
+ args: --release --out dist -i python3.9 -i python3.10 -i python3.11 -i python3.12
20
+ manylinux: auto
21
+ - uses: actions/upload-artifact@v4
22
+ with:
23
+ name: wheels-linux-${{ matrix.target }}
24
+ path: dist
25
+
26
+ windows:
27
+ runs-on: windows-latest
28
+ steps:
29
+ - uses: actions/checkout@v4
30
+ - uses: PyO3/maturin-action@v1
31
+ with:
32
+ args: --release --out dist
33
+ - uses: actions/upload-artifact@v4
34
+ with:
35
+ name: wheels-windows
36
+ path: dist
37
+
38
+ macos:
39
+ runs-on: macos-latest
40
+ strategy:
41
+ matrix:
42
+ target: [x86_64, aarch64]
43
+ steps:
44
+ - uses: actions/checkout@v4
45
+ - uses: PyO3/maturin-action@v1
46
+ with:
47
+ target: ${{ matrix.target }}
48
+ args: --release --out dist -i python3.9 -i python3.10 -i python3.11 -i python3.12
49
+ - uses: actions/upload-artifact@v4
50
+ with:
51
+ name: wheels-macos-${{ matrix.target }}
52
+ path: dist
53
+
54
+ sdist:
55
+ runs-on: ubuntu-latest
56
+ steps:
57
+ - uses: actions/checkout@v4
58
+ - uses: PyO3/maturin-action@v1
59
+ with:
60
+ command: sdist
61
+ args: --out dist
62
+ - uses: actions/upload-artifact@v4
63
+ with:
64
+ name: wheels-sdist
65
+ path: dist
66
+
67
+ release:
68
+ runs-on: ubuntu-latest
69
+ needs: [linux, windows, macos, sdist]
70
+ steps:
71
+ - uses: actions/download-artifact@v4
72
+ with:
73
+ pattern: wheels-*
74
+ merge-multiple: true
75
+ path: dist
76
+
77
+ - name: Install maturin
78
+ run: pip install maturin
79
+
80
+ - name: Upload to PyPI
81
+ run: maturin upload --non-interactive dist/*
82
+ env:
83
+ MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
@@ -0,0 +1,5 @@
1
+ /target
2
+ copy.rs
3
+ /examples/test.py
4
+ /venv
5
+ main.rs