-
Notifications
You must be signed in to change notification settings - Fork 24
36 lines (26 loc) · 1.04 KB
/
dotnet.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
34
35
36
name: .NET Build Test
env:
PROJECT_PATH_CORE: src\Stride.CommunityToolkit\Stride.CommunityToolkit.csproj
PROJECT_PATH_SKYBOX: src\Stride.CommunityToolkit.Skyboxes\Stride.CommunityToolkit.Skyboxes.csproj
on:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout Stride Community Toolkit
uses: actions/checkout@v4
- name: .NET Setup
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore Stride.CommunityToolkit dependencies
run: dotnet restore ${{ env.PROJECT_PATH_CORE }}
- name: Build Stride.CommunityToolkit
run: dotnet build ${{ env.PROJECT_PATH_CORE }} --no-restore
- name: Test Stride.CommunityToolkit
run: dotnet test ${{ env.PROJECT_PATH_CORE }} --no-build --verbosity normal
- name: Restore Stride.CommunityToolkit.Skyboxes dependencies
run: dotnet restore ${{ env.PROJECT_PATH_SKYBOX }}
- name: Build Stride.CommunityToolkit.Skyboxes
run: dotnet build ${{ env.PROJECT_PATH_SKYBOX }} --no-restore