mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-04-30 09:01:41 -04:00
introduced vcpkg cache & restore mechanism for verify workflow, added main program build before UT build .
This commit is contained in:
parent
c3ac587e59
commit
87d35212f7
1 changed files with 18 additions and 1 deletions
19
.github/workflows/verify.yml
vendored
19
.github/workflows/verify.yml
vendored
|
@ -27,9 +27,26 @@ jobs:
|
|||
with:
|
||||
# Target architecture
|
||||
arch: x64
|
||||
- name: build-msvc
|
||||
- name: Restore cache vcpkg
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: |
|
||||
3rdParty/xcc/vcpkg_downloads
|
||||
3rdParty/xcc/vcpkg_installed
|
||||
key: ${{ runner.os }}-vcpkg-${{ hashFiles('**/vcpkg.json') }}
|
||||
- name: Build Main Program (MSVC)
|
||||
run: |
|
||||
devenv.com "MissionEditor.sln" /Build "${{ env.CONFIGURATION }}|x64" /project MissionEditor
|
||||
- name: Build UT tool (MSVC)
|
||||
run: |
|
||||
devenv.com "MissionEditor.sln" /Build "${{ env.CONFIGURATION }}|x64" /project UnitTest
|
||||
- name: Cache vcpkg
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: |
|
||||
3rdParty/xcc/vcpkg_downloads
|
||||
3rdParty/xcc/vcpkg_installed
|
||||
key: ${{ runner.os }}-vcpkg-${{ hashFiles('**/vcpkg.json') }}
|
||||
- name: do UT
|
||||
run: |
|
||||
cd x64\Debug
|
||||
|
|
Loading…
Add table
Reference in a new issue