-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (31 loc) · 856 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
name: Build Solution
on: [ push, pull_request, workflow_call ]
jobs:
publish_windows:
name: "Build for Windows"
runs-on: windows-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
- name: "Setup .NET Cli"
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: "Build Solution"
run: dotnet build
publish_linux:
name: "Build for Linux"
runs-on: ubuntu-22.04
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
- name: "Setup AOT Dependencies"
run: |
sudo apt update
sudo apt install clang zlib1g-dev -y
- name: "Setup .NET Cli"
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: "Build Solution"
run: dotnet build