Skip to content

Commit

Permalink
Make a static binary.
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMasterK committed Aug 27, 2023
1 parent 02b4072 commit e1d963c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- name: Set up NASM
uses: ilammy/setup-nasm@v1.4.0
- name: Build
run: cargo build --release
- run: mv target/release/piped-proxy piped-proxy
run: RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-unknown-linux-gnu
- run: mv target/x86_64-unknown-linux-gnu/release/piped-proxy piped-proxy
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit e1d963c

Please sign in to comment.