mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-03-23 15:26:31 -04:00
ci: compile also CH552 firmware, production test gateware; reorder
This commit is contained in:
parent
5e43450a8a
commit
0ce6808ada
30
.github/workflows/ci.yaml
vendored
30
.github/workflows/ci.yaml
vendored
@ -26,22 +26,34 @@ jobs:
|
||||
run: |
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
# make firmwares first to fail sooner
|
||||
- name: make
|
||||
working-directory: hw/application_fpga
|
||||
run: make firmware.bin testfw.bin all
|
||||
- name: compile ch552 firmware
|
||||
working-directory: hw/boards/mta1-usb-v1/ch552_fw
|
||||
run: make
|
||||
|
||||
# this should to fail on errors, but not on warnings (using -Wno-fatal)
|
||||
- name: lint using verilator
|
||||
working-directory: hw/application_fpga
|
||||
run: make lint
|
||||
- name: make production test gateware
|
||||
working-directory: hw/production_test/application_fpga_test_gateware
|
||||
run: make
|
||||
|
||||
- name: check fmt of c code
|
||||
- name: compile firmware and testfw
|
||||
working-directory: hw/application_fpga
|
||||
run: make firmware.bin testfw.bin
|
||||
|
||||
- name: check fmt of our firmware C code
|
||||
working-directory: hw/application_fpga
|
||||
run: |
|
||||
make -C fw/tk1 checkfmt
|
||||
make -C fw/testfw checkfmt
|
||||
|
||||
# this should to fail on errors, but not on warnings (using -Wno-fatal)
|
||||
- name: lint verilog using verilator
|
||||
working-directory: hw/application_fpga
|
||||
run: make lint
|
||||
|
||||
# doing this last as it takes long time
|
||||
- name: make application FPGA gateware
|
||||
working-directory: hw/application_fpga
|
||||
run: make all
|
||||
|
||||
# TODO? first deal with hw/boards/ and hw/production_test/
|
||||
# - name: check for SPDX tags
|
||||
# run: ./LICENSES/spdx-ensure
|
||||
|
Loading…
x
Reference in New Issue
Block a user