building ios artifact
This commit is contained in:
parent
5bb8a33eb2
commit
d9ad1c3f93
|
|
@ -234,6 +234,11 @@ class CSharpExtArtifact:
|
|||
environ={
|
||||
'ANDROID_ABI': self.arch_abi
|
||||
})
|
||||
elif self.arch == 'ios':
|
||||
return create_jobspec(
|
||||
self.name,
|
||||
['tools/run_tests/artifacts/build_artifact_csharp_ios.sh'],
|
||||
use_workspace=True)
|
||||
elif self.platform == 'windows':
|
||||
cmake_arch_option = 'Win32' if self.arch == 'x86' else self.arch
|
||||
return create_jobspec(
|
||||
|
|
@ -356,6 +361,7 @@ def targets():
|
|||
] + [
|
||||
CSharpExtArtifact('linux', 'android', arch_abi='arm64-v8a'),
|
||||
CSharpExtArtifact('linux', 'android', arch_abi='armeabi-v7a'),
|
||||
CSharpExtArtifact('macos', 'ios'),
|
||||
PythonArtifact('linux', 'x86', 'cp27-cp27m'),
|
||||
PythonArtifact('linux', 'x86', 'cp27-cp27mu'),
|
||||
PythonArtifact('linux', 'x86', 'cp34-cp34m'),
|
||||
|
|
|
|||
|
|
@ -0,0 +1,23 @@
|
|||
#!/bin/bash
|
||||
# Copyright 2016 The gRPC Authors
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
set -ex
|
||||
|
||||
cd "$(dirname "$0")/../../.."
|
||||
|
||||
src/csharp/experimental/build_native_ext_for_ios.sh
|
||||
|
||||
mkdir -p "${ARTIFACTS_OUT}"
|
||||
cp libs/ios_arm64/libgrpc_csharp_ext.a libs/ios_arm64/libgrpc.a "${ARTIFACTS_OUT}"
|
||||
Loading…
Reference in New Issue