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 678748b commit d044822
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ jobs:
done
ls -lah out
- name: Build linux binary
env:
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
RUSTFLAGS="-C target-feature=+crt-static -C link-args=-nostartfiles" \
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

0 comments on commit d044822

Please sign in to comment.