Skip to content

Update readme.md

Update readme.md #72

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