Skip to content

Commit ae8f5e2

Browse files
committed
Configure pyo3 for Windows cross-compile
Signed-off-by: Timothy Johnson <[email protected]>
1 parent 9458f54 commit ae8f5e2

File tree

3 files changed

+27
-5
lines changed

3 files changed

+27
-5
lines changed

.github/workflows/secrets-sdk.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,8 @@ jobs:
8080
with:
8181
target: ${{ matrix.target }}
8282
args: --release --out dist
83-
sccache: false
83+
sccache: "true"
8484
working-directory: src/secrets
85-
command: build
86-
env:
87-
UNSAFE_PYO3_SKIP_VERSION_CHECK: 1
8885
- name: Upload wheels
8986
uses: actions/upload-artifact@v4
9087
with:

src/secrets/Cargo.lock

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/secrets/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ name = "keyring"
1111
crate-type = ["cdylib"]
1212

1313
[dependencies]
14-
pyo3 = { version = "0.24.1", features = ["abi3-py37"] }
14+
pyo3 = { version = "0.24.1", features = ["abi3-py37", "generate-import-lib"] }
1515
secrets_core = { git = "https://github.com/zowe/zowe-cli.git", branch = "master" }

0 commit comments

Comments
 (0)