-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use --zig in CI? #2
Comments
Thanks for the suggestion, I'm interested in making an example workflow that cross-compiles with Zig. |
I've added diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index e8b2931..60294f6 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -120,7 +121,8 @@ jobs:
with:
target: ${{ matrix.target }}
manylinux: auto
- args: --release --out dist
+ args: --release --out dist --zig
- uses: uraimo/[email protected]
if: matrix.target != 'ppc64'
name: Install built wheel It works for cross compiling to aarch64, but other architectures doesn't not work right now mostly due to ziglang/zig#4911. So currently it's not ready to replace Docker. |
As of today, with zig 0.10 and maturin 0.14, only s390x fails: https://github.com/messense/rjieba-py/actions/runs/3801172545/jobs/6465356959 |
maturin-action now fallbacks to docker when |
Hey! I like your CI workflow so I copy it quite closely in my projects 😅
I'm curious: do you think you'll use the new feature to cross-compile with Zig? I don't really understand it but I'm guessing you understand it
The text was updated successfully, but these errors were encountered: