diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43038e7..0c44b4d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,7 +59,6 @@ jobs: run_on: ubuntu-latest os: linux target: x86_64-unknown-linux-gnu - strip: strip --strip-debug setup: | Invoke-WebRequest -OutFile /tmp/protoc.zip -Uri https://github.com/protocolbuffers/protobuf/releases/download/v3.20.2/protoc-3.20.2-linux-x86_64.zip Expand-Archive /tmp/protoc.zip -DestinationPath ../tools @@ -87,7 +86,6 @@ jobs: Invoke-WebRequest -OutFile /tmp/protoc.zip -Uri https://github.com/protocolbuffers/protobuf/releases/download/v3.20.2/protoc-3.20.2-linux-x86_64.zip Expand-Archive /tmp/protoc.zip -DestinationPath ../tools Add-Content -Path $env:GITHUB_PATH -Value "$((get-item ./).parent.fullname)/tools/bin" - strip: aarch64-linux-gnu-strip --strip-debug flags: --features openssl_src # Apple MacOS builds @@ -135,11 +133,6 @@ jobs: command: build args: --release --target ${{ matrix.target }} ${{ matrix.flags }} - - name: Strip Debug Symbols - run: | - ${{ matrix.strip }} target/${{ matrix.target }}/release/grey${{ matrix.extension }} - if: matrix.strip - - name: Upload GitHub Release Artifacts uses: SierraSoftworks/gh-releases@v1.0.7 with: diff --git a/Cargo.toml b/Cargo.toml index 9be7110..12174ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,4 +33,7 @@ trust-dns-resolver = { version = "0.23", features = ["tokio-runtime"] } [features] default = [] pure_tests = [] -openssl_src = ["dep:openssl-sys"] \ No newline at end of file +openssl_src = ["dep:openssl-sys"] + +[profile.release] +debug = "limited" \ No newline at end of file