Skip to content

Commit 2105a5f

Browse files
committed
ci(release): run aarch64 linux build on ubuntu-24.04-arm so the sign step can exec the native binary
1 parent d9e1217 commit 2105a5f

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,10 @@ jobs:
3939
target: x86_64-unknown-linux-gnu
4040
asset_name: auths-linux-x86_64
4141
ext: .tar.gz
42-
- os: ubuntu-latest
42+
- os: ubuntu-24.04-arm
4343
target: aarch64-unknown-linux-gnu
4444
asset_name: auths-linux-aarch64
4545
ext: .tar.gz
46-
cross: true
4746
- os: macos-latest
4847
target: aarch64-apple-darwin
4948
asset_name: auths-macos-aarch64

crates/auths-sdk/src/agent_core.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
//! Re-exports of agent types from `auths-core`.
2+
//!
3+
//! NOTE: SSH agent IPC uses Unix domain sockets — the underlying `auths-core::agent::client`
4+
//! module is `#[cfg(unix)]`-gated. The re-exports below mirror that gate so the SDK
5+
//! compiles on Windows. `AgentHandle` is cross-platform (no socket dependency) and
6+
//! stays unconditionally exported.
27
38
pub use auths_core::AgentHandle;
9+
10+
#[cfg(unix)]
411
pub use auths_core::agent::{
512
AgentStatus, add_identity, agent_sign, check_agent_status, remove_all_identities,
613
};
14+
#[cfg(unix)]
715
pub use auths_core::api::start_agent_listener_with_handle;

0 commit comments

Comments
 (0)