diff options
author | Sven Boemer <sbomer@gmail.com> | 2019-01-18 16:11:25 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-18 16:11:25 -0800 |
commit | b2c6dd4eb427caf7cb852998076b0b1543447a28 (patch) | |
tree | d1d3e58d01596319ea2a02df3d38b7f9bf57c033 | |
parent | 0c6ad4c8d3869b54364b15f21b8b6b5a6fe7a94a (diff) | |
download | coreclr-b2c6dd4eb427caf7cb852998076b0b1543447a28.tar.gz coreclr-b2c6dd4eb427caf7cb852998076b0b1543447a28.tar.bz2 coreclr-b2c6dd4eb427caf7cb852998076b0b1543447a28.zip |
Strip symbols on unix in release builds (#22083)
Fixes https://github.com/dotnet/coreclr/issues/22082
-rw-r--r-- | eng/build-job.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/eng/build-job.yml b/eng/build-job.yml index f0b8559d29..53982bdf6b 100644 --- a/eng/build-job.yml +++ b/eng/build-job.yml @@ -38,6 +38,12 @@ jobs: variables: - name: osIdentifier value: ${{ parameters.osIdentifier }} + - name: stripSymbolsArg + value: '' + # Strip symbols only on the release build + - ${{ if eq(parameters.buildConfig, 'Release') }}: + - name: stripSymbolsArg + value: '-stripsymbols' - name: portableBuildArg value: '' # Ensure that we produce os-specific packages for the following distros: @@ -78,7 +84,7 @@ jobs: # Build - ${{ if ne(parameters.osGroup, 'Windows_NT') }}: - - script: ./build.sh $(buildConfig) $(archType) $(crossArg) -skiptests -skipnuget $(clangArg) + - script: ./build.sh $(buildConfig) $(archType) $(crossArg) -skiptests -skipnuget $(clangArg) $(stripSymbolsArg) displayName: Build product ${{ if eq(parameters.osGroup, 'FreeBSD') }}: env: |