Fixed compilation on linux #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: Unit Tests | |
on: | |
push: | |
branches: [ "master", "production", "feat/**", "feature/**", "bug/**", "hotfix/**" ] | |
pull_request: | |
branches: [ "master", "production", "feat/**", "feature/**", "bug/**", "hotfix/**" ] | |
jobs: | |
build: | |
runs-on: windows-2022 # has .NET Framework 4.8 and 4.8.1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Test | |
run: dotnet test --no-build --verbosity normal | |
- name: Benchmark | |
run: dotnet run --project MsgPack.Benchmarks/MsgPack.Benchmarks.csproj -c Release |