-
-
Notifications
You must be signed in to change notification settings - Fork 37
33 lines (29 loc) · 937 Bytes
/
dotnet-macos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Build the Engine (macOS)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-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