Skip to content
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

[compare-commits] Rework logic to build xamarin-macios again from a separate clone. #10264

Merged
merged 2 commits into from
Dec 12, 2020

Conversation

rolfbjarne
Copy link
Member

Rework the code to generate an API comparison and a generator comparison: we
now clone xamarin-macios into a different directory, checks out the hash we
want to compare against, build the whole thing, and then compare the results.

This is somewhat slower than the previous implementation (which would checkout
the previous hash and build that on top of the existing build), but since we
don't have to build mono, it shouldn't make too much of a difference (the
biggest chunk of our build is building src/, and we had to do that anyway with
the previous implementation as well).

The upside is that it should be much more reliable.

Fixes https://github.com/xamarin/maccore/issues/2034.
Fixes https://github.com/xamarin/maccore/issues/1467.
Fixes https://github.com/xamarin/maccore/issues/1059.
Maybe https://github.com/xamarin/maccore/issues/1173 too.

…eparate clone.

Rework the code to generate an API comparison and a generator comparison: we
now clone xamarin-macios into a different directory, checks out the hash we
want to compare against, build the whole thing, and then compare the results.

This is somewhat slower than the previous implementation (which would checkout
the previous hash and build that on top of the existing build), but since we
don't have to build mono, it shouldn't make too much of a difference (the
biggest chunk of our build is building src/, and we had to do that anyway with
the previous implementation as well).

The upside is that it should be much more reliable.

Fixes xamarin/maccore#2034.
Fixes xamarin/maccore#1467.
Fixes xamarin/maccore#1059.
Maybe xamarin/maccore#1173 too.
@rolfbjarne rolfbjarne added not-notes-worthy Ignore for release notes run-internal-tests If tests should be executed on the internal Jenkins instance. skip-external-tests Skips launching external tests (only applicable for internal Jenkins) labels Dec 11, 2020
@monojenkins
Copy link
Collaborator

Build failure
Provisioning succeeded
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
ℹ️ Generator Diff (please review changes)
Test run succeeded

@rolfbjarne rolfbjarne added the skip-all-tests Skip all the tests label Dec 11, 2020
@monojenkins
Copy link
Collaborator

Build success
Provisioning succeeded
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
Test run succeeded

@mandel-macaque mandel-macaque merged commit 9a20a26 into main Dec 12, 2020
@mandel-macaque mandel-macaque deleted the improved-comparison branch December 12, 2020 21:28
@xamarin-release-manager
Copy link
Collaborator

Build was (probably) aborted

🔥 Jenkins job (on internal Jenkins) failed in stage(s) 'Test run' 🔥 : org.jenkinsci.plugins.workflow.steps.FlowInterruptedException

Provisioning succeeded
Build succeeded
✅ Packages built successfully

View packages

API Diff (from stable)
API Diff (from PR only) (no change)
ℹ️ Generator Diff (please review changes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-notes-worthy Ignore for release notes run-internal-tests If tests should be executed on the internal Jenkins instance. skip-all-tests Skip all the tests skip-external-tests Skips launching external tests (only applicable for internal Jenkins)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants