Skip to content

Commit

Permalink
make sure we embed openssl and zlib in artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
jtattermusch committed Jan 22, 2016
1 parent dadf6ba commit 38b06fb
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions tools/run_tests/build_artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,18 +129,19 @@ def build_jobspec(self):
'/p:PlatformToolset=v120',
'/p:Platform=%s' % msbuild_platform],
shell=True)
if self.platform == 'linux':
environ = {'CONFIG': 'opt'}
return create_docker_jobspec(self.name,
'tools/jenkins/grpc_artifact_linux_%s' % self.arch,
'tools/run_tests/build_artifact_csharp.sh')
else:
environ = {'CONFIG': 'opt'}
if self.platform == 'macos':
environ = {'CONFIG': 'opt',
'EMBED_OPENSSL': 'true',
'EMBED_ZLIB': 'true'}
if self.platform == 'linux':
return create_docker_jobspec(self.name,
'tools/jenkins/grpc_artifact_linux_%s' % self.arch,
'tools/run_tests/build_artifact_csharp.sh')
else:
environ.update(macos_arch_env(self.arch))
return create_jobspec(self.name,
['tools/run_tests/build_artifact_csharp.sh'],
environ=environ)
return create_jobspec(self.name,
['tools/run_tests/build_artifact_csharp.sh'],
environ=environ)

def __str__(self):
return self.name
Expand Down

0 comments on commit 38b06fb

Please sign in to comment.