Skip to content

CI: Set 10 minutes timeout for CI tests #1295

CI: Set 10 minutes timeout for CI tests

CI: Set 10 minutes timeout for CI tests #1295

Workflow file for this run

name: Cppcheck Static Analysis
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '0 9 * * *' # Daily at 10:00 UTC
jobs:
cppcheck:
name: Cppcheck Static Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install dependencies
run: >
sudo apt-get update &&
sudo apt-get install -y
cppcheck
libboost-filesystem-dev
libboost-log-dev
libboost-system-dev
libboost-thread-dev
libcurl4-openssl-dev
libgoogle-perftools-dev
libtool
libtool-bin
libunwind-dev
- name: Run CppCheck
run: |
cppcheck --enable=warning,performance,portability,style src/