Skip to content

Commit bba16b0

Browse files
committed
Add Github Actions
1 parent 5e9a999 commit bba16b0

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.github/PULL_REQUEST_TEMPLATE.MD

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Fixes # .
2+
3+
# Checklist
4+
- [ ] The pull request branch is in sync with latest commit on the *amoerie/keyed-semaphores* development branch
5+
- [ ] I have included unit tests
6+
- [ ] I have updated CHANGELOG.MD
7+
- [ ] I am listed in the CONTRIBUTORS.MD file
8+
9+
# Description of changes in this pull request
10+
11+
# Public API Changes
12+

.github/workflows/build.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os: [windows-2019, ubuntu-18.04, macOS-latest]
17+
dotnet-version: [2.2.108]
18+
19+
steps:
20+
- uses: actions/checkout@v1
21+
22+
- name: Setup .NET Core
23+
uses: actions/setup-dotnet@v1
24+
with:
25+
dotnet-version: ${{ matrix.dotnet-version }}
26+
27+
- name: Build KeyedSemaphores
28+
run: dotnet build ./src/KeyedSemaphores/KeyedSemaphores.csproj --configuration Release
29+
30+
- name: Run KeyedSemaphores.Tests on .NET Core
31+
run: dotnet test ./src/KeyedSemaphores.Tests/KeyedSemaphores.Tests.csproj --configuration Release --framework netcoreapp2.1

0 commit comments

Comments
 (0)