[CI PIPELINE] Fixed check_format.sh script to prevent cpputest direct… #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
# Will run on all PR's and pushes to main | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout code and submodules | |
uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- name: Running build generation | |
run: | | |
make setup | |
make all | |
- name: Running formatting check | |
run: bash scripts/check_format.sh | |
- name: Running static analysis | |
run: make lint |