-
Notifications
You must be signed in to change notification settings - Fork 3
43 lines (34 loc) · 1.12 KB
/
Copy pathccpp.yml
File metadata and controls
43 lines (34 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Main workflow
on: [push]
jobs:
build:
runs-on: windows-2022 # or windows-latest
steps:
- uses: actions/checkout@v4
# Add MSBuild from the installed Visual Studio (2022) to PATH
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
with:
msbuild-architecture: Win32
# (Optional) If you need a full VC++ dev environment for custom steps:
# - uses: ilammy/msvc-dev-cmd@v1
# with:
# arch: x64
- name: Build DataDisplay
shell: pwsh
run: |
msbuild "$Env:GITHUB_WORKSPACE\Source\datadisplay.vcxproj" `
/t:Build /p:Configuration=Release /p:Platform=Win32
- uses: actions/upload-artifact@v4
with:
name: DataDisplay
path: Result/DataDisplay.exe
- name: Build DataGenerator
shell: pwsh
run: |
msbuild "$Env:GITHUB_WORKSPACE\Source\datagenerator.vcxproj" `
/t:Build /p:Configuration=Release /p:Platform=Win32
- uses: actions/upload-artifact@v4
with:
name: DataGenerator
path: Result/DataGenerator.exe