-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Update CI to use kokoro and build for OSX, Windows, Linux #214
Conversation
7a2b4a5
to
7ce2730
Compare
2bfceac
to
520437f
Compare
dfd4952
to
0d9d7e5
Compare
c0f9308
to
3279df1
Compare
66bdb10
to
6d443cd
Compare
@rem Unfortunately pyenv for Windows has an out-of-date versions list. Choco's | ||
@rem installer seems to have some problems with installing multiple versions at | ||
@rem once, so as a workaround, we will install and then uninstall every version. | ||
FOR %%P IN (3.8, 3.9, 3.10, 3.11, 3.12) DO ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chocolatey seems to translate, for example, 3.8
to 3.8.0
(see chocolatey/choco#800). So you might wanna use more specific versions here:
FOR %%P IN (3.8, 3.9, 3.10, 3.11, 3.12) DO ( | |
FOR %%P IN (3.8.19, 3.9.19, 3.10.14, 3.11.9, 3.12.4) DO ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, unfortunately, making that change will break the rest of the code around python versions, so I will need to do a translation. It's on the docket for later.
# Upload wheels to GCS for debugging. Uncomment only when needed. | ||
|
||
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json | ||
gcloud auth activate-service-account --key-file=${GOOGLE_APPLICATION_CREDENTIALS} | ||
ls ${REPO_ROOT}/wheels/ | ||
gsutil cp ${REPO_ROOT}/wheels/* gs://python_crc32c/ | ||
echo "Osx wheels uploaded successfully" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Upload wheels to GCS for debugging. Uncomment only when needed. | |
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json | |
gcloud auth activate-service-account --key-file=${GOOGLE_APPLICATION_CREDENTIALS} | |
ls ${REPO_ROOT}/wheels/ | |
gsutil cp ${REPO_ROOT}/wheels/* gs://python_crc32c/ | |
echo "Osx wheels uploaded successfully" |
Remove test code
Superseded by #234 |
* build: fix windows presubmit * Apply fix from #214
Changes:
dev
package release with this branchNote: