Skip to content
This repository was archived by the owner on Mar 8, 2025. It is now read-only.

Commit 3e67d27

Browse files
committed
Add build GitHub action
1 parent 4fc0b6a commit 3e67d27

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/dotnet-core.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: .NET Core Builds
2+
3+
on:
4+
push:
5+
branches: [ master, dev ]
6+
pull_request:
7+
branches: [ dev ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Setup .NET 5.0
17+
uses: actions/setup-dotnet@v1
18+
with:
19+
dotnet-version: 5.0.202
20+
- name: Setup .NET Core 3.1
21+
uses: actions/setup-dotnet@v1
22+
with:
23+
dotnet-version: 3.1.407
24+
- name: Setup .NET Core 2.1
25+
uses: actions/setup-dotnet@v1
26+
with:
27+
dotnet-version: 2.1.814
28+
- name: Install dependencies
29+
run: dotnet restore
30+
- name: Build
31+
run: dotnet build --configuration Release --no-restore
32+
- name: Test.Mutant
33+
run: dotnet test --no-restore --verbosity normal ./test/test.csproj

0 commit comments

Comments
 (0)