-
Notifications
You must be signed in to change notification settings - Fork 3
41 lines (34 loc) · 922 Bytes
/
build.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
37
38
39
40
41
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
include:
- runtime: win-arm64
platform: arm64
- runtime: win-x64
platform: x64
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
- run: |
dotnet build src/LipUI/LipUI.csproj -c Release -o bin -r ${{ matrix.runtime }} `
-p:DebugType=none -p:Platform=${{ matrix.platform }}
- uses: actions/upload-artifact@v4
with:
name: LipUI-${{ matrix.runtime }}-${{ github.sha }}
path: bin
check-style:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
- run: dotnet format --verify-no-changes src/LipUI