-
Notifications
You must be signed in to change notification settings - Fork 770
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
ci: move cross compile tests to their own jobs #3887
Conversation
9257c64
to
ee1502d
Compare
.github/workflows/ci.yml
Outdated
@@ -488,6 +488,111 @@ jobs: | |||
- run: python3 -m pip install --upgrade pip && pip install nox | |||
- run: python3 -m nox -s check-feature-powerset | |||
|
|||
test-cross-compilation: | |||
needs: [fmt] | |||
# if: ${{ contains(github.event.pull_request.labels.*.name, 'CI-build-full') || (github.event_name != 'pull_request' }} |
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.
This for testing this without attaching CI-build-full
, right?
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.
Yep exactly, I didn't want to burn through CPUs while testing this out 😂
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.
Ok, the jobs are now working so I've pushed a second commit to set these if
conditions up properly.
aa5a764
to
93ba995
Compare
93ba995
to
30d12ad
Compare
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.
LGTM
The slowest part of the merge queue is caused by the cross-compile tests. I believe that they also have their own chunky download which is currently not cached. PyO3/maturin#1953
By moving these into their own jobs, they should be able to be cached trivially and overall be pretty fast to run.