-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (36 loc) · 907 Bytes
/
ci.yml
File metadata and controls
37 lines (36 loc) · 907 Bytes
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: buildit
# Trigger on every master branch push and pull request
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Windows:
runs-on: ${{ matrix.os }}
env:
MSBUILD_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\devenv.com
SLN_PATH: testApp\testApp.csproj
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
strategy:
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: Setup Nuget.exe
uses: warrenbuckley/Setup-Nuget@v1
- name: nuget restore
shell: cmd
run: nuget restore "%SLN_PATH%"
- name: compile debug
shell: cmd
run: |
"%MSBUILD_PATH%" "%SLN_PATH%" /build debug
- name: compile release
shell: cmd
run: |
"%MSBUILD_PATH%" "%SLN_PATH%" /build release