-
Notifications
You must be signed in to change notification settings - Fork 3
43 lines (31 loc) · 1.02 KB
/
Build.yaml
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: Build
on: [push]
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup MSBuild
uses: microsoft/[email protected]
- name: Setup NuGet
uses: NuGet/setup-nuget@v1
- name: Restore NuGet Packages
run: nuget restore WordsLive.sln
- name: Build Project
run: msbuild WordsLive.sln /p:Configuration=$env:Configuration /p:Platform=x86
env:
Configuration: ${{ matrix.configuration }}
- name: Run Tests
run: msbuild WordsLive.Core.Tests\WordsLive.Core.Tests.csproj /t:Test /p:Configuration=$env:Configuration /p:Platform=x86
env:
Configuration: ${{ matrix.configuration }}
- name: Build Installer
run: msbuild Installer\Installer.wixproj /p:Configuration=$env:Configuration /p:Platform=x86
env:
Configuration: ${{ matrix.configuration }}