-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build (and test)
manylinux-aarch64
wheels via our `kivy-ubuntu-arm6…
…4` self-hosted runner [build wheel] (#653) * Build aarch64 wheels Also, build and test x86 wheels in one step, similar to aarch64. * Use kivy-ubuntu-arm64 for tests on Ubuntu aarch64 --------- Co-authored-by: Janakarajan Natarajan <janakan@amazon.com>
- Loading branch information
Showing
3 changed files
with
82 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
set -e -x | ||
|
||
ensure_python_version(){ | ||
# This function ensures that the correct python version is selected. | ||
# It takes one argument, the python version to use. | ||
|
||
# On github-hosted runners, we use the setup-python action to install the correct python version, | ||
# so we don't need to do anything. | ||
|
||
python_version="$1" | ||
# if KIVY_SELF_HOSTED_USE_PYENV is set to 1, we use pyenv to select the python version | ||
if [[ "$KIVY_SELF_HOSTED_USE_PYENV" == "1" ]]; then | ||
source ~/.bashrc | ||
pyenv global $python_version | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters