forked from eesast/THUAI7
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (42 loc) · 1.27 KB
/
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
42
43
44
45
46
name: build
on: [push, pull_request]
jobs:
dotnet-build-logic:
if: true
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Install Workloads
run: dotnet workload install android ios maccatalyst maui-windows
- name: Build Proto
run: dotnet build "./dependency/proto/Protos.csproj" -c Release
- name: Build Logic
run: dotnet build "./logic/logic.sln" -c Release
dotnet-build-install:
if: true
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Install Workloads
run: dotnet workload install android ios maccatalyst maui-windows
- name: Build Installer
run: dotnet build "./installer/installer.sln" -c Release -f net8.0-windows10.0.19041.0
dotnet-build-launcher:
if: true
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Build Launcher
run: dotnet build "./launcher/launcher.sln" -c Release