-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (43 loc) · 1.91 KB
/
Copy pathci.yml
File metadata and controls
56 lines (43 loc) · 1.91 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
windows-fast-validation:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Configure native build
run: cmake -S . -B build -A x64
- name: Build native Core
run: cmake --build build --config Debug
- name: Run fast native tests
run: ctest --test-dir build -C Debug --output-on-failure -R "^(BasaltDB_tests|BasaltCore_tests|BasaltCore_scheduler_policy_tests|BasaltCore_worker_test|BasaltStorage_contract_tests)$"
- name: Build managed Core
run: dotnet build BasaltCore/BasaltCore.csproj -c Debug
- name: Build SQL Server provider
run: dotnet build BasaltCore.SqlServer/BasaltCore.SqlServer.csproj -c Debug
- name: Build and run modern Embedded consumer
run: |
dotnet build consumer-smoke/Consumer.csproj -c Debug
dotnet run --project consumer-smoke/Consumer.csproj -c Debug --no-build
- name: Build and run WPF .NET Framework 4.7.2 consumer
run: |
dotnet build consumer-wpf/ConsumerWpf.csproj -c Debug
./consumer-wpf/bin/Debug/net472/ConsumerWpf.exe --smoke
- name: Build dashboard and run observability smoke
run: |
dotnet build BasaltDashboard/BasaltDashboard.csproj -c Debug
dotnet build observability-smoke/ObservabilitySmoke.csproj -c Debug
dotnet run --project observability-smoke/ObservabilitySmoke.csproj -c Debug --no-build
- name: Record SQL integration limitation
run: Add-Content $env:GITHUB_STEP_SUMMARY "SQL integration is not run in hosted CI because it requires a provisioned SQL Server and restricted test identity. The provider is compiled above."