9
9
jobs :
10
10
linux :
11
11
runs-on : ubuntu-latest
12
- container : quay.io/pypa/manylinux2014_x86_64
12
+ container : quay.io/pypa/manylinux_2_28_x86_64
13
13
strategy :
14
14
matrix :
15
15
python-version : [[38, "3.8"], [39, "3.9"], [310, "3.10"], [311, "3.11"]]
18
18
19
19
- name : Set python version
20
20
run : |
21
- if [[ "${{ matrix.python-version[0] }}" == "37" ]]; then
22
- echo "/opt/python/cp37-cp37m/bin" >> $GITHUB_PATH
23
- else
24
- echo "/opt/python/cp${{ matrix.python-version[0] }}-cp${{ matrix.python-version[0] }}/bin" >> $GITHUB_PATH
25
- fi
21
+ echo "/opt/python/cp${{ matrix.python-version[0] }}-cp${{ matrix.python-version[0] }}/bin" >> $GITHUB_PATH
26
22
27
23
- uses : actions-rs/toolchain@v1
28
24
with :
@@ -39,18 +35,19 @@ jobs:
39
35
40
36
- name : Install tools
41
37
run : |
42
- yum install -y mysql-devel postgresql-devel freetds-devel
38
+ yum install -y epel-release
39
+ yum install -y mysql-devel postgresql-devel freetds-devel krb5-libs clang-devel
43
40
44
41
- name : Setup project
45
42
run : |
46
43
just bootstrap-python
47
44
48
- - uses : messense /maturin-action@v1
45
+ - uses : PyO3 /maturin-action@v1
49
46
with :
50
47
rust-toolchain : 1.65.0
51
- maturin-version : v0.12.1
48
+ maturin-version : v0.14.15
52
49
command : build
53
- args : -m connectorx-python/Cargo.toml -i python --no-sdist --release --manylinux 2014
50
+ args : -m connectorx-python/Cargo.toml -i python --release --manylinux 2_28 --features integrated-auth-gssapi
54
51
env :
55
52
SQLITE3_STATIC : 1
56
53
@@ -59,20 +56,20 @@ jobs:
59
56
cp -rf connectorx-python/target/release/jassets connectorx-python/connectorx/dependencies
60
57
61
58
# rebuild the wheel to incorporate j4rs dependencies
62
- - uses : messense /maturin-action@v1
59
+ - uses : PyO3 /maturin-action@v1
63
60
with :
64
61
rust-toolchain : 1.65.0
65
- maturin-version : v0.12.1
62
+ maturin-version : v0.14.15
66
63
command : build
67
- args : -m connectorx-python/Cargo.toml -i python --no-sdist --release --manylinux 2014
64
+ args : -m connectorx-python/Cargo.toml -i python --release --manylinux 2_28 --features integrated-auth-gssapi
68
65
env :
69
66
SQLITE3_STATIC : 1
70
67
71
- # - uses: messense /maturin-action@v1
68
+ # - uses: PyO3 /maturin-action@v1
72
69
# with:
73
- # maturin-version: v0.12.1
70
+ # maturin-version: v0.14.15
74
71
# command: build
75
- # args: -m connectorx-python/Cargo.toml --target aarch64-unknown-linux-gnu -i python --no-sdist --release --manylinux 2014
72
+ # args: -m connectorx-python/Cargo.toml --target aarch64-unknown-linux-gnu -i python --release --manylinux 2_28 --features integrated-auth-gssapi
76
73
# env:
77
74
# SQLITE3_STATIC: 1
78
75
87
84
matrix :
88
85
os : ["windows-latest", "macos-10.15"]
89
86
python-version : ["3.8", "3.9", "3.10", "3.11"]
87
+ include :
88
+ - os : " macos-10.15"
89
+ features : " --features integrated-auth-gssapi"
90
90
steps :
91
91
- uses : actions/checkout@v2
92
92
@@ -115,12 +115,12 @@ jobs:
115
115
run : |
116
116
just bootstrap-python
117
117
118
- - uses : messense /maturin-action@v1
118
+ - uses : PyO3 /maturin-action@v1
119
119
with :
120
120
rust-toolchain : 1.65.0
121
- maturin-version : v0.12.1
121
+ maturin-version : v0.14.15
122
122
command : build
123
- args : -m connectorx-python/Cargo.toml -i python --no-sdist -- release
123
+ args : -m connectorx-python/Cargo.toml -i python --release ${{ matrix.features }}
124
124
env :
125
125
SQLITE3_STATIC : 1
126
126
@@ -129,12 +129,12 @@ jobs:
129
129
cp -r connectorx-python/target/release/jassets connectorx-python/connectorx/dependencies
130
130
131
131
# rebuild the wheel to incorporate j4rs dependencies
132
- - uses : messense /maturin-action@v1
132
+ - uses : PyO3 /maturin-action@v1
133
133
with :
134
134
rust-toolchain : 1.65.0
135
- maturin-version : v0.12.1
135
+ maturin-version : v0.14.15
136
136
command : build
137
- args : -m connectorx-python/Cargo.toml -i python --no-sdist -- release
137
+ args : -m connectorx-python/Cargo.toml -i python --release ${{ matrix.features }}
138
138
env :
139
139
SQLITE3_STATIC : 1
140
140
@@ -176,12 +176,12 @@ jobs:
176
176
run : |
177
177
just bootstrap-python
178
178
179
- - uses : messense /maturin-action@v1
179
+ - uses : PyO3 /maturin-action@v1
180
180
with :
181
181
rust-toolchain : 1.65.0
182
- maturin-version : v0.12.1
182
+ maturin-version : v0.14.15
183
183
command : build
184
- args : -m connectorx-python/Cargo.toml --target aarch64-apple-darwin -i python --no-sdist --release
184
+ args : -m connectorx-python/Cargo.toml --target aarch64-apple-darwin -i python --release --features integrated-auth-gssapi
185
185
env :
186
186
SQLITE3_STATIC : 1
187
187
@@ -190,12 +190,12 @@ jobs:
190
190
cp -rf connectorx-python/target/aarch64-apple-darwin/release/jassets connectorx-python/connectorx/dependencies
191
191
192
192
# rebuild the wheel to incorporate j4rs dependencies
193
- - uses : messense /maturin-action@v1
193
+ - uses : PyO3 /maturin-action@v1
194
194
with :
195
195
rust-toolchain : 1.65.0
196
- maturin-version : v0.12.1
196
+ maturin-version : v0.14.15
197
197
command : build
198
- args : -m connectorx-python/Cargo.toml --target aarch64-apple-darwin -i python --no-sdist --release
198
+ args : -m connectorx-python/Cargo.toml --target aarch64-apple-darwin -i python --release --features integrated-auth-gssapi
199
199
env :
200
200
SQLITE3_STATIC : 1
201
201
0 commit comments