|
64 | 64 | env: |
65 | 65 | SQLITE3_STATIC: 1 |
66 | 66 |
|
67 | | - - name: Copy j4rs dependencies into dist |
68 | | - run: | |
69 | | - cp -rf connectorx-python/target/release/jassets connectorx-python/connectorx/dependencies |
70 | | -
|
71 | | - # rebuild the wheel to incorporate j4rs dependencies |
72 | | - - uses: PyO3/maturin-action@v1 |
73 | | - with: |
74 | | - rust-toolchain: stable |
75 | | - command: build |
76 | | - args: -m connectorx-python/Cargo.toml -i python --release --manylinux 2_28 --features integrated-auth-gssapi |
77 | | - before-script-linux: | |
78 | | - # If we're running on rhel centos, install needed packages. |
79 | | - if command -v yum &> /dev/null; then |
80 | | - yum update -y && yum install -y perl-core openssl openssl-devel pkgconfig libatomic |
81 | | -
|
82 | | - # If we're running on i686 we need to symlink libatomic |
83 | | - # in order to build openssl with -latomic flag. |
84 | | - if [[ ! -d "/usr/lib64" ]]; then |
85 | | - ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so |
86 | | - fi |
87 | | - else |
88 | | - # If we're running on debian-based system. |
89 | | - apt update -y && apt-get install -y libssl-dev openssl pkg-config |
90 | | - fi |
91 | | - env: |
92 | | - SQLITE3_STATIC: 1 |
93 | | - |
94 | 67 | - uses: actions/upload-artifact@v4 |
95 | 68 | with: |
96 | 69 | name: "ubuntu-latest-${{ matrix.python-version[1] }}" |
@@ -139,19 +112,6 @@ jobs: |
139 | 112 | # env: |
140 | 113 | # SQLITE3_STATIC: 1 |
141 | 114 |
|
142 | | - # - name: Copy j4rs dependencies into dist |
143 | | - # run: | |
144 | | - # cp -rf connectorx-python/target/release/jassets connectorx-python/connectorx/dependencies |
145 | | - |
146 | | - # # rebuild the wheel to incorporate j4rs dependencies |
147 | | - # - uses: PyO3/maturin-action@v1 |
148 | | - # with: |
149 | | - # rust-toolchain: 1.71.1 |
150 | | - # command: build |
151 | | - # args: -m connectorx-python/Cargo.toml --target aarch64-unknown-linux-gnu -i python --release --manylinux 2_28 --features integrated-auth-gssapi |
152 | | - # env: |
153 | | - # SQLITE3_STATIC: 1 |
154 | | - |
155 | 115 | # - uses: actions/upload-artifact@v3 |
156 | 116 | # with: |
157 | 117 | # name: "aarch-${{ matrix.python-version[1] }}" |
@@ -203,20 +163,6 @@ jobs: |
203 | 163 | env: |
204 | 164 | SQLITE3_STATIC: 1 |
205 | 165 |
|
206 | | - - name: Copy j4rs dependencies into dist |
207 | | - run: | |
208 | | - cp -r connectorx-python/target/release/jassets connectorx-python/connectorx/dependencies |
209 | | -
|
210 | | - # rebuild the wheel to incorporate j4rs dependencies |
211 | | - - uses: PyO3/maturin-action@v1 |
212 | | - with: |
213 | | - rust-toolchain: stable |
214 | | - maturin-version: v0.14.15 |
215 | | - command: build |
216 | | - args: -m connectorx-python/Cargo.toml -i python --release ${{ matrix.features }} |
217 | | - env: |
218 | | - SQLITE3_STATIC: 1 |
219 | | - |
220 | 166 | - uses: actions/upload-artifact@v4 |
221 | 167 | with: |
222 | 168 | name: "${{ matrix.os }}-${{ matrix.python-version }}" |
@@ -264,20 +210,6 @@ jobs: |
264 | 210 | env: |
265 | 211 | SQLITE3_STATIC: 1 |
266 | 212 |
|
267 | | - - name: Copy j4rs dependencies into dist |
268 | | - run: | |
269 | | - cp -rf connectorx-python/target/aarch64-apple-darwin/release/jassets connectorx-python/connectorx/dependencies |
270 | | -
|
271 | | - # rebuild the wheel to incorporate j4rs dependencies |
272 | | - - uses: PyO3/maturin-action@v1 |
273 | | - with: |
274 | | - rust-toolchain: stable |
275 | | - maturin-version: v0.14.15 |
276 | | - command: build |
277 | | - args: -m connectorx-python/Cargo.toml --target aarch64-apple-darwin -i python --release --features integrated-auth-gssapi |
278 | | - env: |
279 | | - SQLITE3_STATIC: 1 |
280 | | - |
281 | 213 | - uses: actions/upload-artifact@v4 |
282 | 214 | with: |
283 | 215 | name: "macos-arm-${{ matrix.python-version }}" |
|
0 commit comments