Skip to content

Commit

Permalink
test pkg again
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Feb 13, 2024
1 parent ff4ce5b commit ccbc293
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cpp-lint-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: cpp-linter as action
on:
workflow_dispatch:
workflow_call:
pull_request:
# pull_request:


jobs:
Expand Down Expand Up @@ -44,13 +44,13 @@ jobs:
# to ignore all build folder contents
ignore: build
database: build
verbosity: debug
# verbosity: debug
version: ${{ matrix.clang-version }}
thread-comments: ${{ matrix.clang-version == '16' }}
file-annotations: ${{ matrix.clang-version == '16' }}
extra-args: -std=c++14 -Wall
tidy-review: ${{ matrix.clang-version == '16' }}
format-review: ${{ matrix.clang-version == '16' }}
# format-review: ${{ matrix.clang-version == '16' }}

- name: Fail fast?!
# if: steps.linter.outputs.checks-failed > 0
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/cpp-lint-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ on:
description: 'which branch to test'
default: 'main'
required: true
pull_request:

jobs:
cpp-linter:
runs-on: windows-latest

strategy:
matrix:
clang-version: ['7', '8', '9','10', '11', '12', '13', '14', '15', '16', '17']
clang-version: ['10', '11', '12', '13', '14', '15', '16', '17']
repo: ['cpp-linter/cpp-linter']
branch: ['${{ inputs.branch }}']
branch: ['address-75'] # ['${{ inputs.branch }}']
fail-fast: false

steps:
Expand All @@ -42,7 +43,7 @@ jobs:

- name: Cache the build artifacts
id: cache-build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: build
key: ${{ hashFiles('src/CMakeLists.txt', 'src/demo.cpp', 'src/demo.hpp') }}
Expand All @@ -62,10 +63,11 @@ jobs:
-i=build
-p=build
-V=${{ runner.temp }}/llvm
-f=false
--files-changed-only=true
--lines-changed-only=true
--extra-arg="-std=c++14 -Wall"
--thread-comments=${{ matrix.clang-version == '12' }}
-a=${{ matrix.clang-version == '12' }}
--thread-comments=${{ matrix.clang-version == '16' }}
-a=${{ matrix.clang-version == '16' }}
- name: Fail fast?!
if: steps.linter.outputs.checks-failed > 0
Expand Down

0 comments on commit ccbc293

Please sign in to comment.