Skip to content

Commit

Permalink
PG-1095 Disable cppcheck workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov committed Oct 11, 2024
1 parent f2e1990 commit 81e0308
Showing 1 changed file with 37 additions and 37 deletions.
74 changes: 37 additions & 37 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,47 +3,47 @@ on:
pull_request:

jobs:
cppcheck:
name: Cppcheck
runs-on: ubuntu-22.04
timeout-minutes: 5

steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libcurl4-openssl-dev
# cppcheck:
# name: Cppcheck
# runs-on: ubuntu-22.04
# timeout-minutes: 5

- name: Checkout sources
uses: actions/checkout@v4
with:
path: src/pg_tde
# steps:
# - name: Install dependencies
# run: |
# sudo apt-get update
# sudo apt-get install -y libcurl4-openssl-dev

- name: Configure pg_tde
run: ./configure
working-directory: src/pg_tde
# - name: Checkout sources
# uses: actions/checkout@v4
# with:
# path: src/pg_tde

- name: Checkout cppcheck sources
uses: actions/checkout@v4
with:
repository: "danmar/cppcheck"
ref: "2.13.4"
path: src/cppcheck
# - name: Configure pg_tde
# run: ./configure
# working-directory: src/pg_tde

- name: Build and install cppcheck
working-directory: src/cppcheck
run: |
mkdir build
cd build
cmake ..
cmake --build .
sudo cmake --install .
- name: Execute linter check with cppcheck
working-directory: src/pg_tde
run: |
set -x
cppcheck --enable=all --inline-suppr --template='{file}:{line},{severity},{id},{message}' --error-exitcode=1 --suppress=missingIncludeSystem --suppress=missingInclude --suppress=unmatchedSuppression:pg_tde.c --check-config .
# - name: Checkout cppcheck sources
# uses: actions/checkout@v4
# with:
# repository: "danmar/cppcheck"
# ref: "2.13.4"
# path: src/cppcheck

# - name: Build and install cppcheck
# working-directory: src/cppcheck
# run: |
# mkdir build
# cd build
# cmake ..
# cmake --build .
# sudo cmake --install .

# - name: Execute linter check with cppcheck
# working-directory: src/pg_tde
# run: |
# set -x
# cppcheck --enable=all --inline-suppr --template='{file}:{line},{severity},{id},{message}' --error-exitcode=1 --suppress=missingIncludeSystem --suppress=missingInclude --suppress=unmatchedSuppression:pg_tde.c --check-config .

format:
name: Format
Expand Down

0 comments on commit 81e0308

Please sign in to comment.