Try to set the build path correctly
This commit is contained in:
parent
bf0d90c76a
commit
5b0629758f
1 changed files with 6 additions and 6 deletions
12
.github/workflows/clang-tidy.yml
vendored
12
.github/workflows/clang-tidy.yml
vendored
|
@ -15,8 +15,8 @@ jobs:
|
||||||
|
|
||||||
- name: Create vcpkg build folder
|
- name: Create vcpkg build folder
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ${{runner.workspace}}/build/vcpkg_installed
|
mkdir -p build/vcpkg_installed
|
||||||
mkdir -p ${{runner.workspace}}/build/_deps
|
mkdir -p build/_deps
|
||||||
|
|
||||||
- name: Cache vcpkg
|
- name: Cache vcpkg
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
@ -24,8 +24,8 @@ jobs:
|
||||||
cache-name: vcpkg-modules
|
cache-name: vcpkg-modules
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{runner.workspace}}/build/vcpkg_installed
|
build/vcpkg_installed
|
||||||
${{runner.workspace}}/build/_deps
|
build/_deps
|
||||||
key: clang-tidy-${{ runner.os }}-${{ hashFiles('vcpkg.json') }}
|
key: clang-tidy-${{ runner.os }}-${{ hashFiles('vcpkg.json') }}
|
||||||
|
|
||||||
- name: Fix Path
|
- name: Fix Path
|
||||||
|
@ -38,9 +38,9 @@ jobs:
|
||||||
run: sudo apt-get install clang-tidy
|
run: sudo apt-get install clang-tidy
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: build
|
||||||
run: cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
|
run: cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
|
||||||
|
|
||||||
- name: Run clang-tidy
|
- name: Run clang-tidy
|
||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: build
|
||||||
run: run-clang-tidy
|
run: run-clang-tidy
|
||||||
|
|
Loading…
Reference in a new issue