Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
b83a56ac
Commit
b83a56ac
authored
Feb 06, 2021
by
Isuru Fernando
Browse files
select the correct SDK for github CI and azure pipelines
parent
63c1418e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
travis_osx_steps.sh
travis_osx_steps.sh
+5
-0
travis_steps.sh
travis_steps.sh
+1
-1
No files found.
travis_osx_steps.sh
View file @
b83a56ac
...
...
@@ -2,6 +2,11 @@
# Wheel build, install, run test steps on OSX
set
-e
if
([
"
$GITHUB_WORKFLOW
"
!=
""
]
||
[
"
$PIPELINE_WORKSPACE
"
!=
""
])
&&
[
"
$SDKROOT
"
==
""
]
&&
([
"
$PLAT
"
==
"arm64"
]
||
[
"
$PLAT
"
==
"universal2"
])
;
then
sudo
xcode-select
-switch
/Applications/Xcode_12.2.app
export
SDKROOT
=
/Applications/Xcode_12.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk
fi
# Get needed utilities
MULTIBUILD_DIR
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
MB_PYTHON_VERSION
=
${
MB_PYTHON_VERSION
:-
$TRAVIS_PYTHON_VERSION
}
...
...
travis_steps.sh
View file @
b83a56ac
...
...
@@ -5,7 +5,7 @@ WHEEL_SDIR=${WHEEL_SDIR:-wheelhouse}
MULTIBUILD_DIR
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
if
[
!
-d
"
$PWD
/
$WHEEL_SDIR
"
]
;
then
mkdir
$PWD
/
$WHEEL_SDIR
;
fi
if
[[
"
$
TRAVIS_OS_NAME
"
==
"osx
"
]]
;
then
if
[[
"
$
(
uname
)
"
==
"Darwin
"
]]
;
then
source
$MULTIBUILD_DIR
/travis_osx_steps.sh
else
source
$MULTIBUILD_DIR
/travis_linux_steps.sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment