19 Commits

Author SHA1 Message Date
hathach
1f18be93db
change the tusb_rhport_init_t struct, exclude the rhport to make API more consistent 2024-10-14 18:27:52 +07:00
Ha Thach
7cf1bdd284
Ci tweak3 (#2643)
- enable --one-per-family to build 1 board per family, also skip family if board specified in -b also present
- minimize ci run for push event
  - only build one board per family
  - skip hil test on both pi4 and hfp
- full build will be runn for PR event
- IAR always build 1 board per family regardless of event 
- update build.py to optimize make
- remove all setup python since we don't really need it
2024-05-13 20:27:49 +07:00
Ha Thach
3e2ea77506
More ci tweak (#2636)
* change concurrency group to ${{ github.workflow }}-${{ github.ref }}
* use argparse for build.py hil_test.py, remove the need to install click
* move ci win/mac to build_cmake.yml
* rename build_family.yml to build_util.yml
* build_util.yml support esp32
* integrate build-espressif into build.yml
* build.py support make with --board option
* add get_deps action
* update hil test to reuse action
2024-05-10 18:55:43 +07:00
Ha Thach
ba6babf570
Rework ci (#2631)
* add name field to usbd_class_driver_t
* ci: use set matrix py script
* add riscv32 and cmake support for ch32v307, fomu,  gd32vf103
* update build_cmake.py to take --family --board --toolchain
* separate hil test to its own workflow
* move esp32 board into separated hil json
* add make build to ci
* remov build_make.py
* build.py support esp32 board
* setup toolchain support esp-idf
* fix missing click
* merge family in matrix build to reduce jobs
* skip cifuzz since it still has issue with get_deps and click
2024-05-09 20:43:46 +07:00
hathach
14d44171b5
bump up to actions/setup-python@v5 2024-01-25 19:13:11 +07:00
hathach
c314cb2903
remove usage of linkermap, update checkout to v4 2023-12-18 20:07:17 +07:00
hathach
625c27ca58
add workflow_dispatch for manual trigger 2023-05-25 16:20:58 +07:00
hathach
6683053f48
finalize 2023-03-17 18:44:30 +07:00
hathach
2e5f649fd3
fix run unit test with pre-commit 2023-03-17 16:57:30 +07:00
hathach
2faad42cb1
update ci
- remove submodules init
- pre-commit: forbid new submodule, run in ci
2023-03-17 15:54:25 +07:00
Nathaniel Brough
1dcffc655d fix(fuzz): Make sanitizer flags optional
Currently OSS fuzz expects to have complete control over the
sanitizer flags. As we currently have these set it's causing
problems with the OSS fuzz build. Instead we should use the
provided variables from the OSS fuzz build environment. For
local testing we'll create a set a well defined defaults.
2022-12-28 21:07:29 +00:00
hathach
4deec2f4be fix ci 2022-12-08 11:40:43 +07:00
hathach
33ea178cd9 update build fuzzer step 2022-12-08 11:37:13 +07:00
hathach
ffd008dc75 update build fuzzer 2022-12-08 11:36:19 +07:00
hathach
bf8f4f9521 move build Fuzzer into pre-commit 2022-12-08 11:31:39 +07:00
hathach
34081f6c5c update ci 2022-12-08 10:00:25 +07:00
hathach
91d5fa5639 add paths to all workflows 2022-12-08 09:44:26 +07:00
hathach
b37870c964 test exclude-file.txt, add action concurrency 2022-12-04 21:08:47 +07:00
hathach
e3df3ac5ce add codespell config and ci run 2022-12-04 20:29:24 +07:00