-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (24 loc) · 786 Bytes
/
Copy pathci.yml
File metadata and controls
32 lines (24 loc) · 786 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
name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.x'
- name: Restore
run: dotnet restore PassKey.sln
- name: Build Core
run: dotnet build src/PassKey.Core/PassKey.Core.csproj -c Release
- name: Build BrowserHost
run: dotnet build src/PassKey.BrowserHost/PassKey.BrowserHost.csproj -c Release -r win-x64
- name: Test
run: dotnet test src/PassKey.Tests/PassKey.Tests.csproj --verbosity normal
- name: Build Desktop
run: dotnet build src/PassKey.Desktop/PassKey.Desktop.csproj -p:Platform=x64 -c Release