Skip to content

Commit d193e9d

Browse files
authored
Create build-x64.yml
1 parent 21bcaa3 commit d193e9d

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/build-x64.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build x64
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
runs-on: windows-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Add MSBuild to PATH
20+
uses: microsoft/setup-msbuild@v1.0.2
21+
22+
- name: Build
23+
working-directory: ${{env.GITHUB_WORKSPACE}}
24+
# Add additional options to the MSBuild command line here (like platform or verbosity level).
25+
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
26+
run: msbuild SMTC.sln /p:Configuration=Release /p:Platform=x64
27+
28+
- name: Upload Build Artifacts
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: SMTC.dll
32+
path: bin/x64/Release/SMTC.dll
33+

0 commit comments

Comments
 (0)