aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
Commit message (Collapse)AuthorAgeFilesLines
* .github: Attempt to fix and increase robustness of macOS actionJessica Clarke2023-02-221-2/+2
| | | | | | | | | | | | | | 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. (cherry picked from commit 22f731486e80fdbf679712b2a99605ba97a50264)
* .github: Restrict permissions on cross-build jobs.Alex2023-02-221-0/+3
| | | | (cherry picked from commit aca7ff471acffb59f0f9e2cc4de6363872444fcc)
* .github: Switch to v3 of actions/checkout.John Baldwin2023-02-221-1/+1
| | | | | | | | | | | 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 (cherry picked from commit 54f3a781a2ff980034dfe13ff6323c96fc587f1b)
* .github: Add a build on Ubuntu 22.04 using llvm 14.John Baldwin2022-07-131-1/+5
| | | | | | | Reviewed by: uqs Pull Request: https://github.com/freebsd/freebsd-src/pull/599 (cherry picked from commit 74536fca79facf0e4fdbaf833b94d82e92bb9f77)
* .github: Cross-build aarch64 as well as amd64 kernels.John Baldwin2022-07-131-4/+10
| | | | | | | | | This required adding an explicit os list to the matrix. Reviewed by: uqs Pull Request: https://github.com/freebsd/freebsd-src/pull/599 (cherry picked from commit 3491ed652e0af484b8357ba67e45af17a0e54173)
* .github: Update compilers used for cross-build testing.John Baldwin2022-07-131-8/+4
| | | | | | | | | | | | | - 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 (cherry picked from commit 49335eda0f5d80e9c86754b5ed95a285b49ef166)
* Make it clear we're running clang-12 for the GH actionsUlrich Spörlein2022-07-131-3/+3
| | | | | | | | | This chases a homebrew change in the default clang version. Reviewed by: arichardson Differential Revision: https://reviews.freebsd.org/D31231 (cherry picked from commit 2f677dcedf3b70bf97a51c2b0fd9927b67c666ff)
* .github: Attempt to un-break Clang 9 actionJessica Clarke2021-05-291-2/+2
| | | | | | | | | | | | | | | | | | 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] https://github.com/actions/virtual-environments/commit/15a610677be406d250c1f6732b03c8b87e693a0a (cherry picked from commit e5f5b6a75c0aa0f51a399e2002d15b51211630b5)
* Enable GitHub actions CI for stable/13 as wellAlex Richardson2021-04-201-1/+1
| | | | | | | | | | | 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 (cherry picked from commit 6bc0bb2936a41674bc992887ba17fddfa928ac90)
* GitHub actions: unbreak macOS buildUlrich Spörlein2021-01-081-3/+2
| | | | | | | | Error: llvm 11.0.0 is already installed Also make the linking failure non-fatal: Error: The `brew link` step did not complete successfully
* Github actions: s/master/main/ for the CI workflowUlrich Spörlein2021-01-021-2/+2
|
* GH Actions: Use pre-installed clang packagesUlrich Spörlein2020-11-261-17/+40
| | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=368056
* Add github CI for testing cross-building from Linux and macOSAlex Richardson2020-09-231-0/+35
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 Notes: svn path=/head/; revision=366074