Skip to content

Update docfx/singulinkfx #71

Update docfx/singulinkfx

Update docfx/singulinkfx #71

name: build and test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
debug-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET 7.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.100
- name: Clean
run: dotnet clean --configuration Debug && dotnet nuget locals all --clear
working-directory: Source
- name: Install dependencies
run: dotnet restore
working-directory: Source
- name: Build
run: dotnet build --configuration Debug --no-restore
working-directory: Source
- name: Test
run: dotnet test --configuration Debug --no-build --verbosity normal
working-directory: Source
release-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET 7.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.100
- name: Clean
run: dotnet clean --configuration Release && dotnet nuget locals all --clear
working-directory: Source
- name: Install dependencies
run: dotnet restore
working-directory: Source
- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: Source
- name: Test
run: dotnet test --configuration Release --no-build --verbosity normal
working-directory: Source
debug-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET 7.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.100
- name: Clean
run: dotnet clean --configuration Debug && dotnet nuget locals all --clear
working-directory: Source
- name: Install dependencies
run: dotnet restore
working-directory: Source
- name: Build
run: dotnet build --configuration Debug --no-restore
working-directory: Source
- name: Test
run: dotnet test --configuration Debug --no-build --verbosity normal
working-directory: Source
release-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET 7.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.100
- name: Clean
run: dotnet clean --configuration Release && dotnet nuget locals all --clear
working-directory: Source
- name: Install dependencies
run: dotnet restore
working-directory: Source
- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: Source
- name: Test
run: dotnet test --configuration Release --no-build --verbosity normal
working-directory: Source