-
-
Notifications
You must be signed in to change notification settings - Fork 33
34 lines (30 loc) · 831 Bytes
/
dotnet.yml
File metadata and controls
34 lines (30 loc) · 831 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
name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v4
- name: Setup NuGet
uses: NuGet/setup-nuget@v2
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build netstandard2.0 libraries
run: |
dotnet build src/TextMateSharp/TextMateSharp.csproj --no-restore
dotnet build src/TextMateSharp.Grammars/TextMateSharp.Grammars.csproj --no-restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal