Page MenuHomeFreeBSD

Cirrus-CI: add gcc12 task on main branch
ClosedPublic

Authored by emaste on May 9 2023, 6:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 13, 7:22 AM
Unknown Object (File)
Feb 5 2024, 7:26 PM
Unknown Object (File)
Dec 19 2023, 11:32 PM
Unknown Object (File)
Nov 28 2023, 3:38 AM
Unknown Object (File)
Nov 26 2023, 9:54 AM
Unknown Object (File)
Nov 25 2023, 11:00 AM
Unknown Object (File)
Nov 22 2023, 4:39 PM
Unknown Object (File)
Nov 22 2023, 3:42 PM
Subscribers
None

Details

Summary
We want to get GCC coverage via Cirrus-CI, but don't want to trigger
excessive runs across all forks and branches.

Sponsored by:   The FreeBSD Foundation

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste requested review of this revision.May 9 2023, 6:45 PM
emaste created this revision.
emaste added inline comments.
.cirrus.yml
36

I don't think there's any way to or these together (trigger_type: manual and only_if: $CIRRUS_BRANCH == 'main')

.cirrus.yml
36

I wonder if we can make the automatic ones only trigger for a specific repo via only_if?

.cirrus.yml
36

Ah, perhaps just only_if: $CIRRUS_REPO_FULL_NAME == 'freebsd/freebsd-src'
Presumably any branch in the official mirror is a fair candidate. Let me try.

As noted in IRC, I think it would be nice to apply the same only_if clause to other automatic jobs as well and provide duplicate manual jobs for those also that developers can request in their own fork.

This revision is now accepted and ready to land.May 9 2023, 9:02 PM
In D40027#911593, @jhb wrote:

As noted in IRC, I think it would be nice to apply the same only_if clause to other automatic jobs as well and provide duplicate manual jobs for those also that developers can request in their own fork.

I generally agree, but I'd like to see if Fedor has some advice so that we don't have to duplicate everything twice.