Skip to content

Commit

Permalink
[ci] Add STM32U5 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rleh committed Mar 12, 2023
1 parent 949ff46 commit 358f936
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/compile-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,27 @@ jobs:
name: stm32l5-compile-all
path: test/all/log

stm32u5-compile-all:
if: github.event.label.name == 'ci:hal'
runs-on: ubuntu-20.04
container:
image: ghcr.io/modm-ext/modm-build-cortex-m:latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Checkout code and update modm tools
run: |
(git submodule sync && git submodule update --init --jobs 8) & pip3 install --upgrade --upgrade-strategy=eager modm & wait
- name: Compile HAL for all STM32U5
run: |
(cd test/all && python3 run_all.py stm32u5 --quick-remaining)
- name: Upload log artifacts
if: always()
uses: actions/upload-artifact@v2
with:
name: stm32u5-compile-all
path: test/all/log

stm32g0-compile-all:
if: github.event.label.name == 'ci:hal'
runs-on: ubuntu-22.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ jobs:
if: always()
run: |
(cd examples && ../tools/scripts/examples_compile.py nucleo_l552ze-q)
- name: Examples STM32U5 Series
if: always()
run: |
(cd examples && ../tools/scripts/examples_compile.py nucleo_u575zi-q)
- name: Examples STM32G4 Series
if: always()
run: |
Expand Down
6 changes: 6 additions & 0 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ run-nucleo-l552ze-q:
$(call run-test,nucleo-l552ze-q,size)


compile-nucleo-u575zi-q:
$(call compile-test,nucleo-u575zi-q,size)
run-nucleo-u575zi-q:
$(call run-test,nucleo-u575zi-q,size)


compile-al-avreb-can:
$(call compile-test,al-avreb-can,size)
run-al-avreb-can:
Expand Down
13 changes: 13 additions & 0 deletions test/config/nucleo-u575zi-q.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version='1.0' encoding='UTF-8'?>
<library>
<extends>modm:nucleo-u575zi-q</extends>
<options>
<option name="modm:build:build.path">../../build/generated-unittest/nucleo-u575zi-q/</option>
<option name="modm:build:unittest.source">../../build/generated-unittest/nucleo-u575zi-q/modm-test</option>
<option name="modm:platform:exti:with_handlers">false</option>
</options>
<modules>
<module>modm:platform:heap</module>
<module>modm-test:test:**</module>
</modules>
</library>

0 comments on commit 358f936

Please sign in to comment.