-
Notifications
You must be signed in to change notification settings - Fork 7
38 lines (30 loc) · 1015 Bytes
/
dotnet-linux.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
name: .NET Linux
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore GameRealisticMap-LinuxCI.sln
- name: Build
run: dotnet build --no-restore --configuration Release GameRealisticMap-LinuxCI.sln
- name: Test
run: dotnet test --no-build --verbosity normal --configuration Release GameRealisticMap-LinuxCI.sln
- name: Build Linux Command Line
run: dotnet publish --no-self-contained -f net8.0 -r linux-x64 -c Release GameRealisticMap.Arma3.CommandLine/GameRealisticMap.Arma3.CommandLine.csproj -o Output
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: Linux Command Line
path: Output/grma3