Skip to content

Commit ab9ab79

Browse files
committed
save
1 parent 6c79e94 commit ab9ab79

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/cmake.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
env:
88
BUILD_TYPE: RelWithDebInfo
99
BACKTRACE_SUBMIT_TOKEN: ${{ secrets.BACKTRACE_SUBMIT_TOKEN }}
10+
VCPKG_MSVC_TOOLSET_VERSION: 14.34.31933
1011

1112
concurrency:
1213
group: 'vlink'
@@ -47,23 +48,21 @@ jobs:
4748
working-directory: C:/vtslink/client/out
4849
run: 'if (test-path install) { remove-item -r install }'
4950

51+
- name: Remove previous cmake cache
52+
working-directory: C:/vtslink/client/out/build
53+
run: 'if (test-path CMakeCache.txt) { remove-item CMakeCache.txt }'
54+
5055
- name: Configure CMake
5156
working-directory: C:/vtslink/client
5257
run: cmake -G Ninja -B C:/vtslink/client/out/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=C:/vtslink/client/out/install
53-
env:
54-
VCPKG_MSVC_TOOLSET_VERSION: 14.34.31933
5558

5659
- name: Build
5760
working-directory: C:/vtslink/client
5861
run: cmake --build C:/vtslink/client/out/build --target VTSLink -j $NUMBER_OF_PROCESSORS
59-
env:
60-
VCPKG_MSVC_TOOLSET_VERSION: 14.34.31933
6162

6263
- name: Install
6364
working-directory: C:/vtslink/client
6465
run: cmake --build C:/vtslink/client/out/build --config ${{env.BUILD_TYPE}} --target install -j $NUMBER_OF_PROCESSORS
65-
env:
66-
VCPKG_MSVC_TOOLSET_VERSION: 14.34.31933
6766

6867
- name: Remove previous install binary
6968
working-directory: C:/vtslink/client/out/install/bin

0 commit comments

Comments
 (0)