forked from newbienewbie/InDirectLine
-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (30 loc) · 986 Bytes
/
Copy pathdotnetcore.yml
File metadata and controls
35 lines (30 loc) · 986 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
name: InDirectLine-GitHub
on:
push:
branches:
- master
- release/*
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macOS-latest]
dotnet: ['8.x']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{matrix.dotnet}}
- name: Test
run: |
dotnet test ./Itminus.InDirectLine.Core.Tests/Itminus.InDirectLine.Core.Tests.csproj -c Release
- name: Build with dotnet
run: |
dotnet build ./Itminus.InDirectLine.Core/Itminus.InDirectLine.Core.csproj -c Release
dotnet build ./Itminus.InDirectLine.Web/Itminus.InDirectLine.Web.csproj -c Release
dotnet build ./Itminus.InDirectLine.Samples/Itminus.InDirectLine.IntegrationBotSample/Itminus.InDirectLine.IntegrationBotSample.csproj -c Release