Skip to content

Commit e071d06

Browse files
committed
temp
1 parent 6d6060b commit e071d06

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.github/workflows/test.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
- name: Build wheels
41+
uses: PyO3/maturin-action@v1
42+
with:
43+
target: ${{ matrix.target }}
44+
args: --release --out dist --interpreter 3.7 3.8 3.9 3.10 3.11 3.12
45+
sccache: 'true'
46+
manylinux: auto
47+
working-directory: ./sqlglotrs

0 commit comments

Comments
 (0)