Browse Source

Remove UPX binary compression for now (#279)

remotes/origin/add-with-shims
Gal Schlezinger 4 years ago committed by GitHub
parent
commit
3d98672f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      .github/workflows/rust.yml

12
.github/workflows/rust.yml

@ -61,10 +61,6 @@ jobs: @@ -61,10 +61,6 @@ jobs:
run: cargo build --release
env:
RUSTFLAGS: "-C target-feature=+crt-static"
- name: Compress binary using UPX
run: |
choco install upx
upx target/release/fnm.exe
- uses: actions/upload-artifact@v2
with:
name: fnm-windows
@ -86,10 +82,6 @@ jobs: @@ -86,10 +82,6 @@ jobs:
run: strip target/release/fnm
- name: List dynamically linked libraries
run: otool -L target/release/fnm
- name: Compress binary using UPX
run: |
brew install upx
upx target/release/fnm
- uses: actions/upload-artifact@v2
with:
name: fnm-macos
@ -106,10 +98,6 @@ jobs: @@ -106,10 +98,6 @@ jobs:
docker run --rm -v "$(pwd)":/home/rust/src ekidd/rust-musl-builder:stable \
cargo build --release
sudo chown -R $(whoami):$(whoami) .
- name: Compress binary using UPX
run: |
sudo apt-get install -y upx
upx target/x86_64-unknown-linux-musl/release/fnm
- uses: actions/upload-artifact@v2
with:
name: fnm-linux

Loading…
Cancel
Save