mirror of
https://github.com/TeamPiped/piped-proxy.git
synced 2024-08-14 23:50:45 +00:00
Make a static binary.
This commit is contained in:
parent
02b40729cb
commit
e1d963c855
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue