File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed
Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Python Release to PyPI
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ build-rs :
14+ strategy :
15+ matrix :
16+ os : [linux, macos, windows]
17+ target : [x86_64, aarch64]
18+ include :
19+ - os : linux
20+ target : i686
21+ - os : linux
22+ target : armv7
23+ - os : linux
24+ target : s390x
25+ - os : linux
26+ target : ppc64le
27+ - os : windows
28+ target : i686
29+ python-architecture : x86
30+ exclude :
31+ - os : windows
32+ target : aarch64
33+ runs-on : ${{ (matrix.os == 'linux' && 'ubuntu') || matrix.os }}-latest
34+ steps :
35+ - uses : actions/checkout@v3
36+ - uses : actions/setup-python@v3
37+ with :
38+ python-version : ' 3.11'
39+ architecture : ${{ matrix.python-architecture || 'x64' }}
40+ - uses : actions/setup-python@v3
41+ if : matrix.os == 'windows'
42+ with :
43+ python-version : ' 3.7'
44+ architecture : ${{ matrix.python-architecture || 'x64' }}
45+ - name : Build wheels
46+ uses : PyO3/maturin-action@v1
47+ with :
48+ target : ${{ matrix.target }}
49+ args : --release --out dist --interpreter 3.7 3.8 3.9 3.10 3.11 3.12
50+ sccache : ' true'
51+ manylinux : auto
52+ working-directory : ./sqlglotrs
You can’t perform that action at this time.
0 commit comments