Skip to content

Commit

Permalink
Updated GitHub Build File
Browse files Browse the repository at this point in the history
  • Loading branch information
mjmagee991 committed Mar 25, 2022
1 parent fa7392d commit d693b59
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,16 @@ jobs:
sudo apt-get install clang-format-12
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-12 10000
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build
# Build the code for all supported chips
- name: F302 Build
run: |
cmake -DTARGET_DEV=STM32F302x8 -B ${{github.workspace}}/build
cmake --build ${{github.workspace}}/build
- name: Build
run: cmake --build ${{github.workspace}}/build
- name: F334 Build
run: |
cmake -DTARGET_DEV=STM32F334x8 -B ${{github.workspace}}/build
cmake --build ${{github.workspace}}/build
# Apply clang-format formatting to the branch and create a new commit if any files are changed
- name: Apply Formatting
Expand Down

0 comments on commit d693b59

Please sign in to comment.