-
Notifications
You must be signed in to change notification settings - Fork 596
36 lines (27 loc) · 913 Bytes
/
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
name: CI
on:
pull_request:
jobs:
build:
runs-on: windows-2019
steps:
- name: Checkout LiveSplit
uses: actions/checkout@v2
with:
submodules: recursive
repository: LiveSplit/LiveSplit
- name: Checkout commit
uses: actions/checkout@v2
with:
path: autosplitters_xml
- name: Move Auto Splitters XML
run: mv -force autosplitters_xml/LiveSplit.AutoSplitters.xml .
- name: Set up .NET environment
uses: vrnobody/[email protected]
- name: Install NuGet packages
run: nuget restore LiveSplit\LiveSplit.sln
- name: Build LiveSplit
run: msbuild LiveSplit\LiveSplit.sln /verbosity:minimal /p:NoWarn=1591 /p:Configuration=Release
- name: Run tests
run: |
& "vstest.console.exe" "LiveSplit/LiveSplit.Tests/bin/Release/LiveSplit.Tests.dll"