Skip to content

Commit

Permalink
[ci] Add STM32G4
Browse files Browse the repository at this point in the history
  • Loading branch information
rleh committed Sep 10, 2019
1 parent ace44da commit e3b792f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ jobs:
name: Examples STM32L4 Series
command: |
(cd examples && ../tools/scripts/examples_compile.py stm32l476_discovery nucleo_l476rg nucleo_l432kc)
- run:
name: Examples STM32G4 Series
command: |
(cd examples && ../tools/scripts/examples_compile.py nucleo_g474re)
stm32f4-examples:
docker:
Expand Down Expand Up @@ -284,6 +288,23 @@ jobs:
path: test/all/log
destination: log

stm32g4-compile-all:
docker:
- image: modm/modm-build:latest
steps:
- checkout
- run:
name: Checkout code and update modm tools
command: |
(git submodule sync && git submodule update --init --jobs 8) & pip3 install --upgrade modm & wait
- run:
name: Compile HAL for all STM32G4
command: |
(cd test/all && python3 run_all.py stm32g4)
- store_artifacts:
path: test/all/log
destination: log

build-docs:
docker:
- image: modm/modm-build:latest
Expand Down Expand Up @@ -380,6 +401,10 @@ workflows:
requires:
- unittests-linux-generic
- stm32-examples
- stm32g4-compile-all:
requires:
- unittests-linux-generic
- stm32-examples
- upload-docs:
filters:
branches:
Expand All @@ -403,3 +428,4 @@ workflows:
- stm32f2-compile-all
- stm32f3-compile-all
- stm32g0-compile-all
- stm32g4-compile-all

0 comments on commit e3b792f

Please sign in to comment.