rust-sasa-python 0.1.1__tar.gz → 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.
@@ -1,137 +1,150 @@
1
- # This file is autogenerated by maturin v1.5.1
2
- # To update, run
3
- #
4
- # maturin generate-ci github
5
- #
6
- name: CI
7
-
8
- on:
9
- push:
10
- branches:
11
- - main
12
- - master
13
- tags:
14
- - '*'
15
- pull_request:
16
- workflow_dispatch:
17
-
18
- permissions:
19
- contents: read
20
-
21
- jobs:
22
- linux:
23
- runs-on: ${{ matrix.platform.runner }}
24
- strategy:
25
- matrix:
26
- platform:
27
- - runner: ubuntu-latest
28
- target: x86_64
29
- - runner: ubuntu-latest
30
- target: x86
31
- - runner: ubuntu-latest
32
- target: aarch64
33
- - runner: ubuntu-latest
34
- target: armv7
35
- - runner: ubuntu-latest
36
- target: s390x
37
- - runner: ubuntu-latest
38
- target: ppc64le
39
- steps:
40
- - uses: actions/checkout@v4
41
- - uses: actions/setup-python@v5
42
- with:
43
- python-version: '3.10'
44
- - name: Build wheels
45
- uses: PyO3/maturin-action@v1
46
- with:
47
- target: ${{ matrix.platform.target }}
48
- args: --release --out dist --find-interpreter
49
- sccache: 'true'
50
- manylinux: auto
51
- - name: Upload wheels
52
- uses: actions/upload-artifact@v4
53
- with:
54
- name: wheels-linux-${{ matrix.platform.target }}
55
- path: dist
56
-
57
- windows:
58
- runs-on: ${{ matrix.platform.runner }}
59
- strategy:
60
- matrix:
61
- platform:
62
- - runner: windows-latest
63
- target: x64
64
- - runner: windows-latest
65
- target: x86
66
- steps:
67
- - uses: actions/checkout@v4
68
- - uses: actions/setup-python@v5
69
- with:
70
- python-version: '3.10'
71
- architecture: ${{ matrix.platform.target }}
72
- - name: Build wheels
73
- uses: PyO3/maturin-action@v1
74
- with:
75
- target: ${{ matrix.platform.target }}
76
- args: --release --out dist --find-interpreter
77
- sccache: 'true'
78
- - name: Upload wheels
79
- uses: actions/upload-artifact@v4
80
- with:
81
- name: wheels-windows-${{ matrix.platform.target }}
82
- path: dist
83
-
84
- macos:
85
- runs-on: ${{ matrix.platform.runner }}
86
- strategy:
87
- matrix:
88
- platform:
89
- - runner: macos-latest
90
- target: x86_64
91
- - runner: macos-14
92
- target: aarch64
93
- steps:
94
- - uses: actions/checkout@v4
95
- - uses: actions/setup-python@v5
96
- with:
97
- python-version: '3.10'
98
- - name: Build wheels
99
- uses: PyO3/maturin-action@v1
100
- with:
101
- target: ${{ matrix.platform.target }}
102
- args: --release --out dist --find-interpreter
103
- sccache: 'true'
104
- - name: Upload wheels
105
- uses: actions/upload-artifact@v4
106
- with:
107
- name: wheels-macos-${{ matrix.platform.target }}
108
- path: dist
109
-
110
- sdist:
111
- runs-on: ubuntu-latest
112
- steps:
113
- - uses: actions/checkout@v4
114
- - name: Build sdist
115
- uses: PyO3/maturin-action@v1
116
- with:
117
- command: sdist
118
- args: --out dist
119
- - name: Upload sdist
120
- uses: actions/upload-artifact@v4
121
- with:
122
- name: wheels-sdist
123
- path: dist
124
-
125
- release:
126
- name: Release
127
- runs-on: ubuntu-latest
128
- needs: [linux, windows, macos, sdist]
129
- steps:
130
- - uses: actions/download-artifact@v4
131
- - name: Publish to PyPI
132
- uses: PyO3/maturin-action@v1
133
- env:
134
- MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
135
- with:
136
- command: upload
137
- args: --non-interactive --skip-existing wheels-*/*
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - master
8
+ - radical
9
+ tags:
10
+ - "*"
11
+ pull_request:
12
+ workflow_dispatch:
13
+
14
+ permissions:
15
+ contents: read
16
+
17
+ jobs:
18
+ linux:
19
+ runs-on: ${{ matrix.platform.runner }}
20
+ strategy:
21
+ matrix:
22
+ platform:
23
+ - runner: ubuntu-latest
24
+ target: x86_64
25
+ - runner: ubuntu-latest
26
+ target: x86
27
+ steps:
28
+ - uses: actions/checkout@v4
29
+ - uses: actions/setup-python@v5
30
+ with:
31
+ python-version: "3.13"
32
+ - name: Build wheels
33
+ uses: PyO3/maturin-action@v1
34
+ with:
35
+ target: ${{ matrix.platform.target }}
36
+ args: --release --out dist --find-interpreter
37
+ sccache: "true"
38
+ manylinux: auto
39
+ - name: Upload wheels
40
+ uses: actions/upload-artifact@v4
41
+ with:
42
+ name: wheels-linux-${{ matrix.platform.target }}
43
+ path: dist
44
+
45
+ windows:
46
+ runs-on: ${{ matrix.platform.runner }}
47
+ strategy:
48
+ matrix:
49
+ platform:
50
+ - runner: windows-latest
51
+ target: x64
52
+ - runner: windows-latest
53
+ target: x86
54
+ steps:
55
+ - uses: actions/checkout@v4
56
+ - uses: actions/setup-python@v5
57
+ with:
58
+ python-version: "3.13"
59
+ architecture: ${{ matrix.platform.target }}
60
+ - name: Build wheels
61
+ uses: PyO3/maturin-action@v1
62
+ with:
63
+ target: ${{ matrix.platform.target }}
64
+ args: --release --out dist --find-interpreter
65
+ sccache: "true"
66
+ - name: Upload wheels
67
+ uses: actions/upload-artifact@v4
68
+ with:
69
+ name: wheels-windows-${{ matrix.platform.target }}
70
+ path: dist
71
+
72
+ macos:
73
+ runs-on: ${{ matrix.platform.runner }}
74
+ strategy:
75
+ matrix:
76
+ platform:
77
+ - runner: macos-latest
78
+ target: x86_64
79
+ - runner: macos-14
80
+ target: aarch64
81
+ steps:
82
+ - uses: actions/checkout@v4
83
+ - uses: actions/setup-python@v5
84
+ with:
85
+ python-version: "3.13"
86
+ - name: Build wheels
87
+ uses: PyO3/maturin-action@v1
88
+ with:
89
+ target: ${{ matrix.platform.target }}
90
+ args: --release --out dist --find-interpreter
91
+ sccache: "true"
92
+ - name: Upload wheels
93
+ uses: actions/upload-artifact@v4
94
+ with:
95
+ name: wheels-macos-${{ matrix.platform.target }}
96
+ path: dist
97
+
98
+ sdist:
99
+ runs-on: ubuntu-latest
100
+ steps:
101
+ - uses: actions/checkout@v4
102
+ - name: Build sdist
103
+ uses: PyO3/maturin-action@v1
104
+ with:
105
+ command: sdist
106
+ args: --out dist
107
+ - name: Upload sdist
108
+ uses: actions/upload-artifact@v4
109
+ with:
110
+ name: wheels-sdist
111
+ path: dist
112
+
113
+ test:
114
+ name: Test Suite
115
+ runs-on: ${{ matrix.os }}
116
+ strategy:
117
+ matrix:
118
+ os: [ubuntu-latest, windows-latest, macos-latest]
119
+ steps:
120
+ - uses: actions/checkout@v4
121
+ - name: Install uv
122
+ uses: astral-sh/setup-uv@v3
123
+ with:
124
+ version: "latest"
125
+ - name: Set up Python
126
+ run: uv python install 3.13
127
+ - name: Install dependencies
128
+ run: |
129
+ uv add --dev pytest maturin
130
+ - name: Build and install package
131
+ run: |
132
+ uv run maturin develop --release
133
+ - name: Run tests
134
+ run: |
135
+ uv run pytest tests/ -v
136
+
137
+ release:
138
+ name: Release
139
+ runs-on: ubuntu-latest
140
+ needs: [linux, windows, macos, sdist, test]
141
+ if: github.ref_name != 'radical'
142
+ steps:
143
+ - uses: actions/download-artifact@v4
144
+ - name: Publish to PyPI
145
+ uses: PyO3/maturin-action@v1
146
+ env:
147
+ MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
148
+ with:
149
+ command: upload
150
+ args: --non-interactive --skip-existing wheels-*/*