2020-05-06 11:30:01 +00:00
|
|
|
name: MSVC
|
2020-05-04 23:22:25 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: windows-2019
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: microsoft/setup-msbuild@v1.0.0
|
|
|
|
- name: Integrate vcpkg
|
|
|
|
run: vcpkg integrate install
|
|
|
|
- name: Build vcpkg libraries
|
|
|
|
run: vcpkg install freetype glfw3 capstone[arm,arm64,x86] --triplet x64-windows-static
|
|
|
|
- name: Profiler GUI Debug
|
|
|
|
run: msbuild .\profiler\build\win32\Tracy.vcxproj /property:Configuration=Debug /property:Platform=x64
|
|
|
|
- name: Profiler GUI Release
|
|
|
|
run: msbuild .\profiler\build\win32\Tracy.vcxproj /property:Configuration=Release /property:Platform=x64
|
2020-05-05 23:37:32 +00:00
|
|
|
- name: Update utility Debug
|
|
|
|
run: msbuild .\update\build\win32\update.vcxproj /property:Configuration=Debug /property:Platform=x64
|
|
|
|
- name: Update utility Release
|
|
|
|
run: msbuild .\update\build\win32\update.vcxproj /property:Configuration=Release /property:Platform=x64
|
|
|
|
- name: Capture utility Debug
|
2020-05-04 23:22:25 +00:00
|
|
|
run: msbuild .\capture\build\win32\capture.vcxproj /property:Configuration=Debug /property:Platform=x64
|
2020-05-05 23:37:32 +00:00
|
|
|
- name: Capture utility Release
|
|
|
|
run: msbuild .\capture\build\win32\capture.vcxproj /property:Configuration=Release /property:Platform=x64
|
2020-07-11 12:56:48 +00:00
|
|
|
- name: Csvexport utility Debug
|
|
|
|
run: msbuild .\csvexport\build\win32\csvexport.vcxproj /property:Configuration=Debug /property:Platform=x64
|
|
|
|
- name: Csvexport utility Release
|
|
|
|
run: msbuild .\csvexport\build\win32\csvexport.vcxproj /property:Configuration=Release /property:Platform=x64
|
2020-06-24 00:08:03 +00:00
|
|
|
- name: Import-chrome utility Debug
|
|
|
|
run: msbuild .\import-chrome\build\win32\import-chrome.vcxproj /property:Configuration=Debug /property:Platform=x64
|
|
|
|
- name: Import-chrome utility Release
|
|
|
|
run: msbuild .\import-chrome\build\win32\import-chrome.vcxproj /property:Configuration=Release /property:Platform=x64
|
2020-05-04 23:22:25 +00:00
|
|
|
- name: Library
|
|
|
|
run: msbuild .\library\win32\TracyProfiler.vcxproj /property:Configuration=Release /property:Platform=x64
|
2020-05-05 23:37:32 +00:00
|
|
|
- name: Package binaries
|
2020-05-23 14:17:23 +00:00
|
|
|
run: |
|
|
|
|
mkdir bin
|
|
|
|
mkdir bin\dev
|
|
|
|
copy profiler\build\win32\x64\Release\Tracy.exe bin
|
|
|
|
copy update\build\win32\x64\Release\update.exe bin
|
|
|
|
copy capture\build\win32\x64\Release\capture.exe bin
|
2020-06-24 00:08:03 +00:00
|
|
|
copy import-chrome\build\win32\x64\Release\import-chrome.exe bin
|
2020-07-24 19:37:03 +00:00
|
|
|
copy csvexport\build\win32\x64\Release\csvexport.exe bin
|
2020-05-23 14:17:23 +00:00
|
|
|
copy library\win32\x64\Release\TracyProfiler.dll bin\dev
|
|
|
|
copy library\win32\x64\Release\TracyProfiler.lib bin\dev
|
|
|
|
7z a Tracy.7z bin
|
2020-05-05 23:37:32 +00:00
|
|
|
- uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
path: Tracy.7z
|