-
-
Notifications
You must be signed in to change notification settings - Fork 5
45 lines (34 loc) · 1.01 KB
/
ci.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
38
39
40
41
42
43
44
# Github workflow for Continuous Integration
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
- dev
jobs:
build:
runs-on: windows-latest
defaults:
run:
working-directory: code
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
- name: Setup NuGet
uses: NuGet/setup-nuget@v1
- name: Restore NuGet packages
run: nuget restore InboxNotifier.sln
- name: Build solution — Debug
run: |
msbuild.exe InboxNotifier.sln /p:configuration="Debug" /p:platform="Any CPU" /m
- name: Build solution — Release 32 bits (x86)
run: |
msbuild.exe InboxNotifier.sln /p:configuration="Release x86" /p:platform="Any CPU" /m
- name: Build solution — Release 64 bits (x64)
run: |
msbuild.exe InboxNotifier.sln /p:configuration="Release x64" /p:platform="Any CPU" /m