-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (32 loc) · 1014 Bytes
/
Copy pathci.yml
File metadata and controls
41 lines (32 loc) · 1014 Bytes
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
37
38
39
40
41
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
- name: Verify vendored packages
shell: pwsh
run: |
& .\scripts\verify-vision-sdk-package.ps1
& .\scripts\verify-wpg-package.ps1
& .\scripts\verify-integration-contracts-package.ps1
- name: Restore
run: dotnet restore OpenVisionLab.ThreeDStudio.slnx
- name: Build
run: dotnet build OpenVisionLab.ThreeDStudio.slnx -c Release --no-restore
- name: Test
run: dotnet test --project tests\OpenVisionLab.ThreeD.Data.Tests\OpenVisionLab.ThreeD.Data.Tests.csproj -c Release --no-build --no-restore --minimum-expected-tests 2 --report-xunit-trx