Commit Graph

23 Commits

Author SHA1 Message Date
Warner Losh
be68c895c8 MAINTAINERS: Add myself to stand
People email me when the boot loader breaks anyway, so ask to be
included in reviews. And ask strongly since I've had to deal with too
many major breakages lately, distruting other things I need to do.

Sponsored by:		Netflix
2023-05-07 22:30:10 -06:00
Jessica Clarke
f13b4e460c .github: Test DISK_IMAGE_TOOLS_BOOTSTRAP in CI
Building the tools is quick so we should provide coverage of this to
ensure it keeps working, especially on non-FreeBSD.

Reviewed by:	emaste, arichardson
Differential Revision:	https://reviews.freebsd.org/D39073
2023-03-15 00:06:53 +00:00
Warner Losh
005cca8361 Fix typo: messages missing an 'a'. 2023-03-01 16:34:43 -07:00
Cy Schubert
9f83fca886 MAINTAINERS+GitHub: Reflect ipfilter was moved from contrib to netpfil
Reflect the fact that ipfilter was moved from contrib to netpfil
on December 20, 2021 by 3b9b51fe46. And that ipfilter userland
was moved from contrib to sbin/ipf by 41edb306f0 that same day.
2023-02-28 10:33:03 -08:00
Warner Losh
af23369a6d github: Create pull request template
Just to see how this looks. Will likely need to iterate.
2023-02-28 11:23:53 -07:00
Andrew Turner
8aad241ed0 Add myself to the github code owners file 2023-02-20 12:29:55 +00:00
Alex
aca7ff471a .github: Restrict permissions on cross-build jobs. 2023-02-09 12:12:17 -08:00
John Baldwin
54f3a781a2 .github: Switch to v3 of actions/checkout.
GitHub is emitting a warning that v2 is deprecated due to using
Node.js 12.

Reported by:	GitHub
Reviewed by:	arichardson, emaste
Differential Revision:	https://reviews.freebsd.org/D37769
2022-12-20 16:27:17 -08:00
Jessica Clarke
22f731486e .github: Attempt to fix and increase robustness of macOS action
Homebrew has added LLVM 14 and made that the default version, but GitHub
continues to install LLVM 13 for now, so it ends up only accessible via
the versioned name and not the unversioned one. We also add an explicit
installation of llvm@13 so that, if GitHub updates the image to using
LLVM 14, the action continues to work, albeit slightly more slowly. This
also ensures the compiler label remains correct rather than outdated, as
has occurred in the past, and that we don't get new versions of LLVM
before we're ready for them, which is especially relevant for stable
branches. This all mirrors how the Ubuntu jobs are configured.
2022-06-30 21:03:26 +01:00
John Baldwin
74536fca79 .github: Add a build on Ubuntu 22.04 using llvm 14.
Reviewed by:	uqs
Pull Request:	https://github.com/freebsd/freebsd-src/pull/599
2022-06-09 10:20:03 -07:00
John Baldwin
3491ed652e .github: Cross-build aarch64 as well as amd64 kernels.
This required adding an explicit os list to the matrix.

Reviewed by:	uqs
Pull Request:	https://github.com/freebsd/freebsd-src/pull/599
2022-06-09 10:20:03 -07:00
John Baldwin
49335eda0f .github: Update compilers used for cross-build testing.
- Drop clang 9 build, and switch the remaining ubuntu build to
  the more modern clang 12.

- Update the label for the macos-latest builds which are now using
  clang 13 rather than clang 12.

Reviewed by:	uqs
Pull Request:	https://github.com/freebsd/freebsd-src/pull/599
2022-06-09 10:20:02 -07:00
Jose Luis Duran
bff83dd395 GitHub: Add libefivar's path to CODEOWNERS
Code owners are automatically requested for review when someone opens a
pull request that modifies code that they own.

https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

Pull Request: https://github.com/freebsd/freebsd-src/pull/581
2022-02-27 09:11:39 -07:00
Alan Somers
4f831830fa [skip ci] fix syntax in CODEOWNERS
* Fix invalid usernames
  - Fix spelling of ngie-eign
  - Delete users who aren't members of the FreeBSD org
* Fix spelling of usr.bin/fetch in CODEOWNERS
* rm "a directory anywhere in the repo" patterns from CODEOWNERS
  Even though they're documented as working, in practice they don't.
  https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-code-owners#codeowners-file-location

MFC after:	2 weeks
Sponsored by:	Axcient
Reviewed by:	imp
Differential Revision: https://reviews.freebsd.org/D30849
2021-07-22 10:58:54 -06:00
Ulrich Spörlein
2f677dcedf Make it clear we're running clang-12 for the GH actions
This chases a homebrew change in the default clang version.

Reviewed by:	arichardson
Differential Revision: https://reviews.freebsd.org/D31231
2021-07-20 17:49:25 +02:00
Alan Somers
f0d577fd2d [skip ci] volunteer to maintain POSIX AIO
MFC after:	2 weeks
2021-05-30 17:21:12 -06:00
Alan Somers
5a20c351ea [skip ci] add a CODEOWNERS file
Summary:
Convert MAINTAINERS into a Github CODEOWNERS file.  This will
automatically assign reviewers to some GH pull requests.  The conversion
is not 1:1; some committers don't have Github accounts (e.g. adrian),
some functional areas don't neatly correspond to a set of files (e.g.
kqueue), and mailing lists can't be assigned as a reviewer (e.g.
secteam@).  But it's a start.

MFC after:	2 weeks
Reviewed by:	imp
Differential Revision: https://reviews.freebsd.org/D30559
2021-05-30 16:49:07 -06:00
Jessica Clarke
e5f5b6a75c .github: Attempt to un-break Clang 9 action
GitHub removed Clang 9 from the 20.04 image[1], breaking this build.
Thus, manually add the specific versioned packages we need for the
Ubuntu jobs to ensure they're installed. Note that we don't do the same
for macOS, as Homebrew does not allow multiple llvm@N to co-exist,
giving an error if you attempt to install a second one. In practice we
don't actually use the compiler field here for anything other than the
build name, it's only the cross-bindir that matters, so when it
eventually moves to 12 the name will get confusing but the job will
still work.

MFC after:	immediately

[1] 15a610677b
2021-05-29 04:36:36 +01:00
Alex Richardson
6bc0bb2936 Enable GitHub actions CI for stable/13 as well
All cross-building patches have been merged to stable/13 so it should
also build fine on macOS+Linux.

Reviewed By:	uqs
MFC after:	immediately
Differential Revision: https://reviews.freebsd.org/D29831
2021-04-20 09:51:33 +01:00
Ulrich Spörlein
40903394bf GitHub actions: unbreak macOS build
Error: llvm 11.0.0 is already installed

Also make the linking failure non-fatal:

Error: The `brew link` step did not complete successfully
2021-01-08 15:36:38 +01:00
Ulrich Spörlein
9c43bd646e Github actions: s/master/main/ for the CI workflow 2021-01-03 00:08:38 +01:00
Ulrich Spörlein
accf961151 GH Actions: Use pre-installed clang packages
Also fix the run by setting up the environment in non-deprecated way.

Always run with --debug to understand better what sort of stuff is happening in
the background. Also split out the bmake bootstrap stage (takes about 31s on
ubuntu, but 1m14 on macOS?)

Drops the dependency on coreutils (realpath, nproc) and thus (?) fixes macOS to
be just as fast (4 logical cores vs 2 physical cores before, go figure.)

Reviewed by:		arichardson
2020-11-26 14:42:16 +00:00
Alex Richardson
1e266857ad Add github CI for testing cross-building from Linux and macOS
This builds the kernel-toolchain target and an amd64 GENERIC kernel on
Ubuntu 18.04, 20.04 and the latest macOS to ensure that new changes
don't regress building on non-FreeBSD hosts.

Reviewed By:	emaste, lwhsu
Differential Revision: https://reviews.freebsd.org/D26512
2020-09-23 12:54:37 +00:00