diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 4a4f39a6..1d981d95 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -59,7 +59,6 @@ jobs: os: "ubuntu-18.04", target: "x86_64-unknown-linux-gnu", cross: false, - strip: true, } - { os: "ubuntu-18.04", @@ -67,31 +66,26 @@ jobs: cross: false, container: quay.io/pypa/manylinux2014_x86_64, suffix: "2-17", - strip: true, } - { os: "ubuntu-18.04", target: "i686-unknown-linux-gnu", cross: true, - strip: true, } - { os: "ubuntu-18.04", target: "x86_64-unknown-linux-musl", cross: false, - strip: true, } - { os: "ubuntu-18.04", target: "i686-unknown-linux-musl", cross: true, - strip: true, } - { os: "macOS-latest", target: "x86_64-apple-darwin", cross: false, - strip: true, } - { os: "windows-2019", @@ -164,13 +158,6 @@ jobs: mkdir completion cp -r ./target/${{ matrix.triple.target }}/release/build/bottom-*/out/. completion - - name: Strip release binary (macOS or Linux x86-64/i686) - if: matrix.triple.strip == true - run: | - strip target/${{ matrix.triple.target }}/release/btm - - # TODO: Strip ARM - - name: Bundle release and completion (Windows) if: matrix.triple.os == 'windows-2019' shell: bash diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 851cde2c..7899db26 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -55,7 +55,6 @@ jobs: os: "ubuntu-18.04", target: "x86_64-unknown-linux-gnu", cross: false, - strip: true, } - { os: "ubuntu-18.04", @@ -63,32 +62,23 @@ jobs: cross: false, container: quay.io/pypa/manylinux2014_x86_64, suffix: "2-17", - strip: true, } - { os: "ubuntu-18.04", target: "i686-unknown-linux-gnu", cross: true, - strip: true, } - { os: "ubuntu-18.04", target: "x86_64-unknown-linux-musl", cross: false, - strip: true, } - { os: "ubuntu-18.04", target: "i686-unknown-linux-musl", cross: true, - strip: true, - } - - { - os: "macOS-latest", - target: "x86_64-apple-darwin", - cross: false, - strip: true, } + - { os: "macOS-latest", target: "x86_64-apple-darwin", cross: false } - { os: "windows-2019", target: "x86_64-pc-windows-msvc", @@ -160,13 +150,6 @@ jobs: mkdir completion cp -r ./target/${{ matrix.triple.target }}/release/build/bottom-*/out/. completion - - name: Strip release binary (macOS or Linux x86-64/i686) - if: matrix.triple.strip == true - run: | - strip target/${{ matrix.triple.target }}/release/btm - - # TODO: Strip ARM - - name: Bundle release and completion (Windows) if: matrix.triple.os == 'windows-2019' shell: bash diff --git a/Cargo.toml b/Cargo.toml index 4e43e131..a0dc6328 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,6 +30,7 @@ lto = true # lto = false opt-level = 3 codegen-units = 1 +strip = "symbols" [features] default = ["fern", "log", "battery", "gpu"]