Skip to content

Commit

Permalink
try to fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Jan 19, 2025
1 parent c456852 commit 678748b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 120 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ jobs:
ls -lah out
- name: Build linux binary
env:
RUSTFLAGS: -C target-feature=+crt-static
RUSTFLAGS: -C target-feature=+crt-static -C link-args=-nostartfiles
run: |
rustup target add x86_64-unknown-linux-gnu
# Build proc-macro crates first without static linking
cargo build --release --locked -p asn1-rs-derive
# Then build the main binary with static linking
cargo build --release --locked -p ic_tee_nitro_gateway
cp "target/release/ic_tee_nitro_gateway" out/
SHA256="$(sha256sum < "out/ic_tee_nitro_gateway" | sed 's/ .*$//g')"
Expand Down
114 changes: 0 additions & 114 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ categories = ["web-programming"]
license = "MIT OR Apache-2.0"

[workspace.dependencies]
async-trait = "0.1"
anyhow = "1"
axum = { version = "0.8", features = [
"http1",
Expand Down Expand Up @@ -83,7 +82,6 @@ reqwest = { version = "0.12", features = [
], default-features = true }
libc = "0.2"
thiserror = "2"
xid = "1.1"
ic-types = { git = "https://github.com/dfinity/ic/", rev = "5d202894864f4db4a5a46f44422aebc80c3d321b" }
ic-crypto-standalone-sig-verifier = { git = "https://github.com/dfinity/ic/", rev = "5d202894864f4db4a5a46f44422aebc80c3d321b" }
ic-crypto-secp256k1 = { git = "https://github.com/dfinity/ic/", rev = "5d202894864f4db4a5a46f44422aebc80c3d321b" }
Expand Down
1 change: 0 additions & 1 deletion src/ic_tee_agent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ license.workspace = true

[dependencies]
ic_tee_cdk = { path = "../ic_tee_cdk", version = "0.2" }
async-trait = { workspace = true }
http = { workspace = true }
axum-core = { workspace = true }
base64 = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions src/ic_tee_nitro_gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ categories.workspace = true
license.workspace = true

[dependencies]
anyhow = { workspace = true }
axum = { workspace = true }
axum-server = { workspace = true }
clap = { workspace = true }
Expand All @@ -30,7 +29,6 @@ ic-agent = { workspace = true }
ed25519-consensus = { workspace = true }
rustls = { workspace = true, features = ["ring"] }
lazy_static = { workspace = true }
xid = { workspace = true }
ic-crypto-secp256k1 = { workspace = true }
ic-crypto-ed25519 = { workspace = true }
ic-types = { workspace = true }
Expand Down

0 comments on commit 678748b

Please sign in to comment.