diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-02-24 23:18:22 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-25 02:18:22 -0500 |
commit | c4c9130b4a3d428ae8ad3a1903218f322820856f (patch) | |
tree | ba3d98f34d8578c26eb647598ca54e2dced0c4cd /.github | |
parent | 128ec8120020495fa87580b39968e9e8f1e10fbe (diff) |
ci: enable strip on release builds with Cargo.toml (#679)
Removes the manual strip used in favour of the now native functionality in Cargo.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/deployment.yml | 13 | ||||
-rw-r--r-- | .github/workflows/nightly.yml | 19 |
2 files changed, 1 insertions, 31 deletions
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 |