massif 0.1.0__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,109 @@
1
+ name: Release
2
+ on:
3
+ push:
4
+ tags:
5
+ - 'v*'
6
+
7
+ permissions:
8
+ contents: read
9
+
10
+ jobs:
11
+ linux:
12
+ runs-on: ubuntu-latest
13
+ strategy:
14
+ matrix:
15
+ target: [x86_64]
16
+ python-version: ['3.12']
17
+ python-abi: ['312']
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - name: Build wheels
21
+ uses: PyO3/maturin-action@v1
22
+ with:
23
+ target: ${{ matrix.target }}
24
+ args: --release --out dist -i /opt/python/cp${{ matrix.python-abi }}-cp${{ matrix.python-abi }}/bin/python
25
+ sccache: 'true'
26
+ manylinux: auto
27
+ - name: Upload wheels
28
+ uses: actions/upload-artifact@v4
29
+ with:
30
+ name: wheels-linux-${{ matrix.target }}-py${{ matrix.python-version }}
31
+ path: dist
32
+
33
+ windows:
34
+ runs-on: windows-latest
35
+ strategy:
36
+ matrix:
37
+ target: [x64]
38
+ python-version: ['3.12']
39
+ steps:
40
+ - uses: actions/checkout@v4
41
+ - uses: actions/setup-python@v5
42
+ id: setup-python
43
+ with:
44
+ python-version: ${{ matrix.python-version }}
45
+ - name: Build wheels
46
+ uses: PyO3/maturin-action@v1
47
+ with:
48
+ target: ${{ matrix.target }}
49
+ args: --release --out dist --interpreter ${{ steps.setup-python.outputs.python-path }}
50
+ sccache: 'true'
51
+ - name: Upload wheels
52
+ uses: actions/upload-artifact@v4
53
+ with:
54
+ name: wheels-windows-${{ matrix.target }}-py${{ matrix.python-version }}
55
+ path: dist
56
+
57
+ macos:
58
+ runs-on: macos-latest
59
+ strategy:
60
+ matrix:
61
+ target: [x86_64, aarch64]
62
+ python-version: ['3.12']
63
+ steps:
64
+ - uses: actions/checkout@v4
65
+ - uses: actions/setup-python@v5
66
+ id: setup-python
67
+ with:
68
+ python-version: ${{ matrix.python-version }}
69
+ - name: Build wheels
70
+ uses: PyO3/maturin-action@v1
71
+ with:
72
+ target: ${{ matrix.target }}
73
+ args: --release --out dist --interpreter ${{ steps.setup-python.outputs.python-path }}
74
+ sccache: 'true'
75
+ - name: Upload wheels
76
+ uses: actions/upload-artifact@v4
77
+ with:
78
+ name: wheels-macos-${{ matrix.target }}-py${{ matrix.python-version }}
79
+ path: dist
80
+
81
+ sdist:
82
+ runs-on: ubuntu-latest
83
+ steps:
84
+ - uses: actions/checkout@v4
85
+ - name: Build sdist
86
+ uses: PyO3/maturin-action@v1
87
+ with:
88
+ command: sdist
89
+ args: --out dist
90
+ - name: Upload sdist
91
+ uses: actions/upload-artifact@v4
92
+ with:
93
+ name: wheels-sdist
94
+ path: dist
95
+
96
+ release:
97
+ name: Release
98
+ runs-on: ubuntu-latest
99
+ if: "startsWith(github.ref, 'refs/tags/')"
100
+ needs: [linux, windows, macos, sdist]
101
+ permissions:
102
+ id-token: write
103
+ steps:
104
+ - uses: actions/download-artifact@v4
105
+ - name: Publish to PyPI
106
+ uses: PyO3/maturin-action@v1
107
+ with:
108
+ command: upload
109
+ args: --non-interactive --skip-existing wheels-*/*