mirror of https://github.com/ErsatzTV/ErsatzTV.git
1 changed files with 31 additions and 0 deletions
@ -0,0 +1,31 @@ |
|||||||
|
name: Build |
||||||
|
on: |
||||||
|
pull_request: |
||||||
|
push: |
||||||
|
branches: |
||||||
|
- main |
||||||
|
- develop |
||||||
|
jobs: |
||||||
|
build: |
||||||
|
runs-on: ${{ matrix.os }} |
||||||
|
strategy: |
||||||
|
fail-fast: false |
||||||
|
matrix: |
||||||
|
os: [ windows-latest, ubuntu-latest, macos-latest ] |
||||||
|
steps: |
||||||
|
- name: Get the sources |
||||||
|
uses: actions/checkout@v2 |
||||||
|
|
||||||
|
- name: Setup .NET Core |
||||||
|
uses: actions/setup-dotnet@v1 |
||||||
|
with: |
||||||
|
dotnet-version: 5.0.x |
||||||
|
|
||||||
|
- name: Install dependencies |
||||||
|
run: dotnet restore |
||||||
|
|
||||||
|
- name: Build |
||||||
|
run: dotnet build --configuration Release --no-restore |
||||||
|
|
||||||
|
- name: Test |
||||||
|
run: dotnet test --no-restore --verbosity normal |
||||||
Loading…
Reference in new issue