Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiavrammsd committed Sep 1, 2024
1 parent 4e2492d commit 46f912e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
with:
path: |
build/
build-code-quality/
key: ${{ matrix.config.name }}-cmake-${{ hashFiles('CMakeLists.txt', 'cmake/*.cmake') }}

- name: Create Build Environment
Expand All @@ -72,7 +73,7 @@ jobs:
- name: Code Quality
run: |
./code-quality.sh ${{ github.event.repository.default_branch }} ${{github.workspace}} \
${{github.workspace}}/build ${{ matrix.config.build_type }} tests
${{github.workspace}}/build-code-quality refs/heads/${{ matrix.config.build_type }} tests
if: matrix.config.code_quality == true

- name: Configure CMake
Expand Down
3 changes: 0 additions & 3 deletions code-quality.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ fi
cwd=$PWD

# Build with clang for compilation database used by clang-tidy
rm -rf ${build_path}
mkdir ${build_path}
cd ${build_path}

Expand Down Expand Up @@ -50,5 +49,3 @@ else
echo "No files changed"
fi

# Clean
rm -rf ${build_path}

0 comments on commit 46f912e

Please sign in to comment.