mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
760 B
34 lines
760 B
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: Clean |
|
run: dotnet clean --configuration Release && dotnet nuget locals all --clear |
|
|
|
- name: Install dependencies |
|
run: dotnet restore |
|
|
|
- name: Build |
|
run: dotnet build --configuration Release --no-restore |
|
|
|
- name: Test |
|
run: dotnet test --no-restore --verbosity normal
|
|
|