41 Commits

Author SHA1 Message Date
Travis Geiselbrecht
5a75003102 [ci][gcc] have gcc runs build with -Werror set
Be a bit more strict about what is accepted into mainline by building
with -Werror set for gcc builds.

Clang builds will get the same treatment soon.

Also turn off some ubsan compiles for some of the older arches where
there's very little value (and it probably doesn't work anyway).
2025-10-05 14:43:25 -07:00
Travis Geiselbrecht
c3a754cf03 [github][ci] bump gcc to 15.2.0 2025-08-31 12:44:36 -07:00
Travis Geiselbrecht
5cd783b831 [github][action] skip building if docs/ or only .md files are touched
[skip ci]
2025-07-29 00:30:28 -07:00
Travis Geiselbrecht
17cef2e44d [github][gcc] bump the gcc version to 15.1.0 2025-07-29 00:08:55 -07:00
Travis Geiselbrecht
3581b14b06 [github-action] try to build by architecture instead of project list
This should cut down on the number of github builders, but having only
one per arch per toolchain per debug per ubsan. Still a lot, but working
on it.

Also means it automatically builds every project in the tree, instead of
just the curated list.
2025-07-18 22:22:17 -07:00
Travis Geiselbrecht
ac65ad8429 [github][actions] dont run actions for branches under wip/ path 2025-07-09 23:42:36 -07:00
Travis Geiselbrecht
07eb425744 [github][copilot] add an instructions.md file
Unclear if this is doing any good, but the copilot agent does seem to
read it in.
2025-07-09 23:42:26 -07:00
Travis Geiselbrecht
aafeda6b86 [github][ci][clang] add clang 19 to the list 2025-06-03 22:33:00 -07:00
Kelvin Zhang
91a65fd20d [ci][github] Fix CI stability
* Sometimes apt-get install qemu fails with fetch error, run apt-get
update first to mitigate
* unittest.py often fails due to app shell not started in 0.5s, increase
  timeout
2025-05-28 16:04:10 -07:00
Travis Geiselbrecht
98a5703451 [github][ci][clang] add clang 16, 17, 18 to the list 2024-11-07 08:44:27 +00:00
Travis Geiselbrecht
d1579678ab [github][ci] use apt-get to fetch clang to remove a warning 2024-11-07 08:44:27 +00:00
Travis Geiselbrecht
b236992933 [github][ci] update CI build to ubuntu 24.04
Remove clang-13 from the build list, since it's not present in ubuntu
24.04.

If someone thinks this is an issue, please drop an email and we can see
about adding it back.
2024-08-09 17:57:43 -07:00
Travis Geiselbrecht
6ed970dbb0 [github][ci] bump gcc to 14.2.0 2024-08-09 17:42:45 -07:00
Kelvin Zhang
87b7245a6b [github-ci] Add uefi_load unittest to github CI 2024-06-24 14:10:33 -07:00
Travis Geiselbrecht
d1f4b4a546 [target][banana pi f3] quick n dirty port to the bananapi f3 board
A decent 8 core riscv64 board with dual ethernet and 2 or 4GB ram.

Fairly easy to bring up on, though not a lot of docs at the moment.
2024-06-19 16:43:16 -07:00
Travis Geiselbrecht
1ae8bf68fc [github][ci] build debug and release builds with clang 2024-04-08 00:07:17 -07:00
Travis Geiselbrecht
3e6fd78a38 [github][ci] limit riscv builds to clang 14+
Clang 13 is missing some support for some new ISA extensions that may
not be worth maintaining build system workarounds for.
2024-04-08 00:07:17 -07:00
Travis Geiselbrecht
41ae8ad4ee [github][ci] Reduce the number of GCC runs on older compiler
-Don't try to compile any riscv targets on gcc 7.5.0 which is a bit too
old to deal with any of the newer ISA extensions.
-Stop building UBSAN on 7.5.0 builds since that's not particularly
useful.
2024-04-07 23:55:07 -07:00
Travis Geiselbrecht
679fbb6e96 [github][actions] update checkout and cache to v4 2024-02-27 00:53:37 -08:00
Travis Geiselbrecht
ec261bcf45 [github][ci] switch to gcc 13.2.0 for the default build compiler 2023-10-15 14:45:49 -07:00
Alex Richardson
3b215c398e [ci] Add 64-bit RISC-V to Clang CI 2023-06-08 07:08:49 -07:00
Alex Richardson
6025bec3a1 [ci] Add pc-x86-64-test to the Clang CI job 2023-06-07 15:55:50 -07:00
Alex Richardson
acb933b5ac [ci] Add a LLVM toolchain CI configuration file
This only builds a subset of all targets for now since the remaining
ones (32-bit targets) would require libgcc/compiler-rt for the 64-bit
integer and/or double-precision float helper functions.
Currently, only aarch64 targets build with clang, but with follow-up
this can be extended to include x86_64 and RISCV64.
2023-06-07 15:55:49 -07:00
Alexander Richardson
9cc95f1bf0 Don't notify IRC on pushes to forks 2023-06-07 13:27:16 -07:00
Travis Geiselbrecht
c66ad44efa WIP [target][visionfive2] Add initial support for a VisionFive 2 RISC-V board
Still TODO:
-Set the timer rate properly
-Fix nonzero based hart secondary cpu boot
-Try to parse the device tree for some information
2023-03-06 01:06:27 -08:00
Pedro Falcato
34d1bf4e42 [github][CI] Add UBSAN variants to CI 2023-02-18 16:47:16 -08:00
Travis Geiselbrecht
ee880bad58 [ci][gcc] update main toolchain to gcc 12.2.0 2022-10-23 21:26:04 -07:00
Travis Geiselbrecht
45e864d0c6 [ci] update github cache to v3 2022-10-23 21:25:12 -07:00
Travis Geiselbrecht
8cc5b06eeb [ci] update github checkout action to v3 2022-10-23 21:25:12 -07:00
Travis Geiselbrecht
b3dd72ab1d [github][ci] switch current toolchain to 12.1 2022-05-22 16:41:57 -07:00
Travis Geiselbrecht
49644a2c39 [platform][rosco-m68k] Add port to the Rosco M68k board
Port to the really neat 68010 based board at https://rosco-m68k.com/

Port Features:
-10Mhz 68010
-1MB ram
-Dual UART + timer implemented as a 68c681 chip
-timer running at 1Khz, UART A for console
-interrupt driven RX support

Some amount of extending of the 68k exceptinon code was needed to
support the autovectored irqs that the 68681 uart uses. Added build
system support for 68010.
2022-04-12 00:25:12 -07:00
Travis Geiselbrecht
911900f3df [arch][m68k] Merge in Motorola 68k port 2021-11-08 23:24:37 -08:00
Travis Geiselbrecht
cf14bb4fc0 [github][CI] revise the CI builder script
Switch to a more proper matrix. Build each of the projects in a list
with DEBUG=0 and DEBUG=2 and with two versions of the toolchain (7.5.0
and 11.2.0).

Sets things up to be easier to run things like unit tests in a later
patch.
2021-09-18 16:53:52 -07:00
Travis Geiselbrecht
adf64f2e88 [github][ci] add qemu-virt-m68k-test to the build matrix 2021-06-07 02:44:22 -07:00
Travis Geiselbrecht
8251133b6d [github][irc] tweak the irc notifier to not use notice 2021-05-26 02:15:59 -07:00
Travis Geiselbrecht
0f04f252d5 [github][irc notify] switch to irc.libera.chat 2021-05-26 02:08:55 -07:00
Travis Geiselbrecht
a319a1f68d [target][pico][ci] add pico-test to the build matrix 2021-02-15 21:07:00 -08:00
Travis Geiselbrecht
b730a5ef5c [github][actions] Add a new action to build LK, replacing travis-ci
Use the new github actions to replace the travis-ci builders which
seem to no longer work and are being removed.

This first stab is fairly rough, just matches the explicit matrix
that was in the travis-ci hooks, but at least gets back to a buildable
state again.
2021-02-14 20:23:39 -08:00
Travis Geiselbrecht
f893499029 [github][irc] try to use notice instead of privmsg 2020-10-21 02:43:17 -07:00
Travis Geiselbrecht
e0487f9b48 [github][action][irc] tweak the bot name 2020-10-10 01:50:34 -07:00
Travis Geiselbrecht
bf6de611f2 [github][actions][irc] add a irc notify action
This should hypothetically send a message to the #lk channel on freenode
on push and other git events.

We shall see.
2020-10-10 01:47:45 -07:00