test vcpkg cache local path . (#130)

* test vcpkg cache local path .
* verify workflow added artifact upload step for testing .
This commit is contained in:
Zero Fanker 2024-12-21 23:53:10 -05:00 committed by GitHub
parent 01115bf2cb
commit 2df6cb45c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View file

@ -48,6 +48,7 @@ jobs:
path: |
3rdParty/xcc/vcpkg_downloads
3rdParty/xcc/vcpkg_installed
C:/Users/runneradmin/AppData/Local/vcpkg
key: ${{ runner.os }}-vcpkg-${{ hashFiles('**/vcpkg.json') }}
- name: build-msvc
run: |

View file

@ -33,6 +33,7 @@ jobs:
path: |
3rdParty/xcc/vcpkg_downloads
3rdParty/xcc/vcpkg_installed
C:/Users/runneradmin/AppData/Local/vcpkg
key: ${{ runner.os }}-vcpkg-${{ hashFiles('**/vcpkg.json') }}
- name: Build Main Program (MSVC)
run: |
@ -46,8 +47,14 @@ jobs:
path: |
3rdParty/xcc/vcpkg_downloads
3rdParty/xcc/vcpkg_installed
C:/Users/runneradmin/AppData/Local/vcpkg
key: ${{ runner.os }}-vcpkg-${{ hashFiles('**/vcpkg.json') }}
- name: do UT
run: |
cd x64\Debug
./UnitTest
./UnitTest
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: RN-Mission-Editor-pr-${{ github.run_number }}
path: dist/FinalAlert2YR