-
Notifications
You must be signed in to change notification settings - Fork 14
39 lines (30 loc) · 1.04 KB
/
c-sharp.yml
File metadata and controls
39 lines (30 loc) · 1.04 KB
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
name: C# CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master, github-actions ]
jobs:
Build-and-Tests:
runs-on: windows-2025-vs2026 # TODO: change back to windows-latest after May 5 (see https://github.com/actions/runner-images/issues/13638)
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.x
- name: Install MSBuild
uses: microsoft/setup-msbuild@v2
- name: Install dependencies
run: dotnet restore RATools.sln
- name: Build
run: msbuild.exe RATools.sln -p:Configuration=Release -p:Platform="Any CPU"
- name: Run Data Tests
run: dotnet test Tests\Data\bin\Release\net10.0-windows\RATools.Data.Tests.dll
- name: Run Parser Tests
run: dotnet test Tests\Parser\bin\Release\net10.0-windows\RATools.Parser.Tests.dll
- name: Run RATools Tests
run: dotnet test Tests\bin\Release\net10.0-windows\RATools.Tests.dll