-
-
Notifications
You must be signed in to change notification settings - Fork 124
37 lines (28 loc) · 839 Bytes
/
build.yml
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
name: Build
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1
- name: Setup NuGet
uses: nuget/setup-nuget@v1
- name: Restore NuGet packages
run: nuget restore
- name: Build
run: msbuild /p:Configuration=Release /p:Platform=x64 /p:SourceLinkCreate=false
- name: Archive
uses: actions/upload-artifact@v2
with:
name: DCS-SimpleRadioStandalone
path: install-build
- name: Setup VSTest
uses: Malcolmnixon/Setup-VSTest@v3
- name: VSTest DCS-SR-CommonTests
run: VSTest.Console DCS-SR-CommonTests\bin\x64\Release\DCS-SR-CommonTests.dll
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true