chore(server): target musl

This commit is contained in:
Anna 2022-08-25 17:39:33 -04:00
parent a9f27f5cb0
commit 3f9805a212
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ tasks:
echo 'source $HOME/.nix-profile/etc/profile.d/nix.sh' >> $HOME/.buildenv
- build: |
cd remote-party-finder/server
nix-shell --command 'cargo build --release'
nix-shell --command 'cargo build --release --target x86_64-unknown-linux-musl'
strip -s target/release/remote-party-finder
nix-shell --command 'patchelf --remove-rpath --set-interpreter /usr/lib64/ld-linux-x86-64.so.2 target/release/remote-party-finder'
artifacts: