Update readme.md #72
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 the Engine (Windows) | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 8.0.x | |
- name: workload install | |
run: dotnet workload install maui | |
- name: Restore dependencies | |
run: dotnet restore engine/Orbit.Engine/Orbit.Engine.csproj | |
- name: Restore dependencies | |
run: dotnet restore engine/Orbit.Engine.Tests/Orbit.Engine.Tests.csproj | |
- name: Build engine | |
run: dotnet build engine/Orbit.Engine/Orbit.Engine.csproj --no-restore | |
- name: Build tests | |
run: dotnet build engine/Orbit.Engine.Tests/Orbit.Engine.Tests.csproj --no-restore | |
- name: Run tests | |
run: dotnet test engine/Orbit.Engine.Tests/Orbit.Engine.Tests.csproj --no-restore |