-
Notifications
You must be signed in to change notification settings - Fork 9
49 lines (40 loc) · 963 Bytes
/
build-windows.yml
File metadata and controls
49 lines (40 loc) · 963 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
38
39
40
41
42
43
44
45
46
47
48
49
name: build-windows
on:
push:
paths-ignore:
- "**.md"
- LICENSE
branches:
- "master"
pull_request:
paths-ignore:
- "**.md"
- LICENSE
branches:
- master
jobs:
build-and-test:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Testspace
uses: testspace-com/setup-testspace@v1
with:
domain: ${{github.repository_owner}}
- name: Install .NET 8
uses: actions/setup-dotnet@v1
with:
dotnet-version: "8.0.x"
- name: Install .NET 9
uses: actions/setup-dotnet@v1
with:
dotnet-version: "9.0.x"
- name: Build
run: .\build.ps1 --target build
- name: Run Tests
run: .\build.ps1 --target tests --exclusive
- name: Push result to Testspace server
run: |
testspace [windows]**/*.trx
if: always()