Repository navigation
Perform SWT-natives build as part of the master/verification build - #514
Conversation
f212a61 to
70d06d8
Compare
|
|
to build |
In this regard yes, but using Windows and Linux can be challenging as well. 😅
For cocoa.macosx.x86_64 which runs on
The last successful build of SWT-natives for
OK, great. I just tried it and selected I suggest we do that update of b9h15-macos10.15 then after this PR has been successfully merged. Because as already said I'm not familiar with macos so somebody else has to do the adjustments. But we now have working native-builds for all six different platforms. 🎉 So now I only have to test the push procedure (will of course use another branch than master), do some polishing and then this should be ready to go. |
|
When I try to push the results of the build to a test branch using Is it possible that the |
That is probably because the repo is cloned using https. Setting the SSH address as pushurl will probably fix that. Will try that. |
|
@sravanlakkimsetti can you confirm that the |
|
Is the fail here (on innocent change in SWT Linux code) related? |
|
@akurtakov @sravanlakkimsetti @HannesWell @iloveeclipse PLEASE NOTE: Build agent Any other build jobs that reference the old name will need to be updated. |
Thank you @fredg02 for that. |
Good catch. I copied from the existing format. If @sravanlakkimsetti agrees, I can change the tag for |
Yes. Please relabel them as |
|
@fredg02 on the b9h15-macos11-x86_64 I see the following error for the macosx.x86_64 build of SWT-natives. |
|
Besides that it looks like the project is not prepared to push to the swt(-natives)-repo: |
@HannesWell Please try again, and in case it's still failing, please point me to the build. |
Looks like the initial error is fixed, but there seems to be another one on the new macos-x86_64 node: |
This was because I oversaw the SSH-agent setup in the existing/old You can see the results here:
But while testing pushing I noticed that the automated natives-build respectively the automated enforced-qualifier commits will trigger another round of automated updates, which likely leads to an infinite update-cycle. |
That error should be fixed as well now. It required to update the MacOS Developer Command Line Tools from version 12.5 to 13.2 (with |
Great. Thank you! I can confirm that the mac build is now working for both architectures.
I prevent such self-loop now by performing a check if the HEAD commit was committed by the Eclipse Releng Bot. In that case the build simply aborts, as you can see for example in https://ci.eclipse.org/releng/job/eclipse.platform.swt/job/testSWTNativesInPipeline/8/console. So I think this is ready now. You can see the results here:
The only thing to do, before this can be submitted is to remove the last commit (which was only used to test pushing) and to squash the others. @mickaelistria, @akurtakov or anybody else: Do you want to review this? |
I've personally lost track (again) on this topic and don't intend to refocus on it soon enough to give a helpful review, sorry.
Yes please. |
OK, no problem. I did some more testing (changes and a few more adjust and I'm now relatively confident that this change is fine as it is. |
|
Since the master branch is now open I plan to submit this PR tomorrow evening, unless anybody objects. |
First part of eclipse-platform#513 The build procedure is based on the configurations in https://ci.eclipse.org/releng/view/SWT%20Natives/ Namely these are: - https://ci.eclipse.org/releng/job/SWT-Increment_if_needed/configure - https://ci.eclipse.org/releng/job/cocoa_aarch64/configure - https://ci.eclipse.org/releng/job/cocoa_x86_64/configure - https://ci.eclipse.org/releng/job/gtk_linux_aarch64/configure - https://ci.eclipse.org/releng/job/gtk_linux_ppc64le/configure - https://ci.eclipse.org/releng/job/gtk_linux_x86_64/configure - https://ci.eclipse.org/releng/job/win32_x86_64/configure The steps of all those jobs are now perform in the Jenkins master-build of this o.e.swt repo and thus makes all the mentioned jobs obsolete. This also makes building the swt-binaries as part of the I-builds obsolete. It has also the advantage that one can get immediate feedback in verification-builds for changes that affect the SWT-binaries on all platforms.
|
All tests on Jenkins are green and the GH-workflow failures are the same like on previous master builds. Therefore I believe they are unrelated. Thanks to everyone that helped to make this happen, especially @fredg02! |
|
So the build succeeded as expected in https://ci.eclipse.org/releng/job/eclipse.platform.swt/job/master/24/ 🎉 Unfortunately we will now see aborted builds in the master queue, but I didn't found an elegant way to suppress. Maybe it would be possible with adjusting the Jenkins/GH-hook configuration. But I don't have access to that.
Since the mentioned seven jobs are now not necessary anymore I suggest we delete them on the long run. For some time I think it is reasonable to keep them as a reference but once we are confident everything works I think we can just delete them. |
First part of #513
The build procedure is based on the configurations in https://ci.eclipse.org/releng/view/SWT%20Natives/
Namely these are:
The steps of all those jobs are now perform in the Jenkins-build of this o.e.swt repo and thus makes all the mentioned jobs obsolete. This also makes building the swt-binaries as part of the I-builds obsolete. It has also the advantage that one can get immediate feedback in verification-builds for changes that affect the SWT-binaries.