Fix p1 4104 and individual demos not timing with tick 0 #79
Workflow file for this run
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
name: Build and Test | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: | |
- {os: windows-latest, framework: net7.0-windows, runtime: win-x64} | |
- {os: ubuntu-latest, framework: net7.0, runtime: linux-x64} | |
build_type: | |
- { | |
name: 'Build', | |
configuration: Debug, | |
command: 'dotnet build ConsoleApp --no-self-contained', | |
} | |
- { | |
name: 'Publish to single file', | |
configuration: Release, | |
command: 'dotnet publish ConsoleApp -p:PublishSingleFile=true --self-contained', | |
} | |
- { | |
name: 'Run tests', | |
configuration: Release, | |
command: 'dotnet test --logger "console;verbosity=detailed"', | |
} | |
runs-on: ${{ matrix.platform.os }} | |
name: ${{ matrix.build_type.name }} (${{ matrix.build_type.configuration }}, ${{ matrix.platform.os }} | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 7.0.x | |
- name: ${{ matrix.build_type.name }} | |
run: > | |
${{ matrix.build_type.command }} | |
--framework=${{ matrix.platform.framework }} | |
--runtime=${{ matrix.platform.runtime }} | |
--configuration=${{ matrix.build_type.configuration }} |