Skip to content

Commit

Permalink
add CI checks for coverity
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-josi-aws committed Oct 21, 2023
1 parent 8672536 commit 9e48737
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/coverity_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@ jobs:
name: Native GCC
runs-on: ubuntu-latest
steps:
# - name: Checkout the FreeRTOS/FreeRTOS Repository
# uses: actions/checkout@v3
# with:
# ref: main
# repository: FreeRTOS/FreeRTOS
# submodules: 'recursive'
# fetch-depth: 1
- name: Checkout the FreeRTOS/FreeRTOS Repository
uses: actions/checkout@v3
with:
ref: main
repository: FreeRTOS/FreeRTOS
submodules: 'recursive'
fetch-depth: 1

# # Checkout user pull request changes
# - name: Checkout Pull Request
# uses: actions/checkout@v3
# with:
# path: ./FreeRTOS/Source
# Checkout user pull request changes
- name: Checkout Pull Request
uses: actions/checkout@v3
with:
path: ./FreeRTOS/Source

# - name: Install GCC
# shell: bash
# run: |
# sudo apt-get -y update
# sudo apt-get -y install build-essential
- name: Install GCC
shell: bash
run: |
sudo apt-get -y update
sudo apt-get -y install build-essential
- name: Install Coverity Build
shell: bash
Expand All @@ -37,8 +37,7 @@ jobs:
- name: Build Posix_GCC Demo
shell: bash
working-directory: FreeRTOS/Demo/Posix_GCC
run: |
export PATH="$PATH:${{env.cov_scan_path}}"
cd FreeRTOS/Demo/Posix_GCC
cov-build
# cov-build --dir cov-int make -j
cov-build --dir cov-int make -j

0 comments on commit 9e48737

Please sign in to comment.