No description
|
Some checks failed
ci / build (Debug, aarch64-linux-musl) (push) Failing after 38s
ci / build (Debug, aarch64-macos) (push) Failing after 42s
ci / build (Debug, riscv64-linux-gnu) (push) Failing after 44s
ci / build (Debug, riscv64-linux-musl) (push) Failing after 42s
ci / build (Debug, x86_64-linux-gnu) (push) Failing after 46s
ci / build (Debug, x86_64-linux-musl) (push) Failing after 44s
ci / build (Debug, x86_64-windows-gnu) (push) Failing after 42s
ci / build (ReleaseFast, aarch64-linux-gnu) (push) Failing after 41s
ci / build (Debug, x86_64-macos) (push) Failing after 1m1s
ci / build (ReleaseFast, aarch64-linux-musl) (push) Failing after 1m59s
ci / build (ReleaseFast, aarch64-macos) (push) Failing after 2m32s
ci / build (ReleaseFast, riscv64-linux-gnu) (push) Failing after 2m30s
ci / build (ReleaseFast, riscv64-linux-musl) (push) Failing after 2m30s
ci / build (ReleaseFast, x86_64-linux-gnu) (push) Failing after 2m27s
ci / build (ReleaseFast, x86_64-macos) (push) Failing after 3m13s
ci / build (ReleaseFast, x86_64-linux-musl) (push) Failing after 3m28s
ci / build (ReleaseFast, x86_64-windows-gnu) (push) Failing after 3m13s
ci / build (ReleaseSafe, aarch64-linux-musl) (push) Failing after 2m47s
ci / build (ReleaseSafe, aarch64-linux-gnu) (push) Failing after 2m50s
ci / build (ReleaseSafe, x86_64-linux-gnu) (push) Failing after 2m19s
ci / build (ReleaseSafe, riscv64-linux-musl) (push) Failing after 2m22s
ci / build (ReleaseSafe, x86_64-linux-musl) (push) Failing after 2m20s
ci / build (ReleaseSafe, riscv64-linux-gnu) (push) Failing after 2m31s
ci / build (ReleaseSafe, aarch64-macos) (push) Failing after 3m10s
ci / build (ReleaseSafe, x86_64-macos) (push) Failing after 1m49s
ci / build (ReleaseSafe, x86_64-windows-gnu) (push) Failing after 1m47s
ci / build (ReleaseSmall, aarch64-linux-gnu) (push) Failing after 1m44s
ci / build (ReleaseSmall, aarch64-linux-musl) (push) Failing after 1m45s
ci / build (ReleaseSmall, aarch64-macos) (push) Failing after 1m50s
ci / build (ReleaseSmall, riscv64-linux-musl) (push) Failing after 1m23s
ci / build (ReleaseSmall, x86_64-linux-gnu) (push) Failing after 1m23s
ci / build (ReleaseSmall, riscv64-linux-gnu) (push) Failing after 1m24s
ci / build (ReleaseSmall, x86_64-linux-musl) (push) Failing after 1m26s
ci / build (ReleaseSmall, x86_64-macos) (push) Failing after 1m24s
ci / test (ReleaseFast, ubuntu-latest) (push) Successful in 2m31s
ci / build (ReleaseSmall, x86_64-windows-gnu) (push) Failing after 2m36s
ci / test (Debug, ubuntu-latest) (push) Successful in 2m35s
ci / test (ReleaseSafe, ubuntu-latest) (push) Successful in 2m42s
ci / test (ReleaseSmall, ubuntu-latest) (push) Successful in 2m41s
ci / build (Debug, aarch64-linux-gnu) (push) Failing after 1m34s
|
||
|---|---|---|
| .github/workflows | ||
| config | ||
| libssh2@201c368aa1 | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| build.zig | ||
| build.zig.zon | ||
| LICENSE | ||
| README.md | ||
libssh2 build package
Like this project?
If you like this project or other works of mine, please consider donating to or sponsoring me on Github ❤️
How to use
This repo contains code for your build.zig that can statically compile libssh2.
Link to your application
In order to statically link libssh2 into your application:
const libssh2 = @import("path/to/libssh2.zig");
pub fn build(b: *std.build.Builder) void {
// ...
const lib = libssh2.create(b, target, optimize);
const exe = b.addExecutable(.{
.name = "my-program",
.root_source_file = .{ .path = "src/main.zig" },
});
lib.link(exe);
}