Skip to content

Commit

Permalink
[ci] Add STM32H7 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
salkinium committed Jul 6, 2021
1 parent 20c5d20 commit a90b038
Show file tree
Hide file tree
Showing 2 changed files with 25 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 @@ -425,3 +425,24 @@ jobs:
with:
name: stm32g4-compile-all-2
path: test/all/log

stm32h7-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 STM32H7
run: |
(cd test/all && python3 run_all.py stm32h7 --quick-remaining)
- name: Upload log artifacts
if: always()
uses: actions/upload-artifact@v2
with:
name: stm32h7-compile-all
path: test/all/log
4 changes: 4 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ jobs:
if: always()
run: |
(cd examples && ../tools/scripts/examples_compile.py nucleo_g474re nucleo_g431rb nucleo_g431kb)
- name: Examples STM32H7 Series
if: always()
run: |
(cd examples && ../tools/scripts/examples_compile.py stm32h7 nucleo_h7)
stm32f4-examples-1:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit a90b038

Please sign in to comment.