-
Notifications
You must be signed in to change notification settings - Fork 97
47 lines (39 loc) · 1.41 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
47
name: .NET Build
on:
push:
branches:
- master
pull_request:
jobs:
windows-build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET 8
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.x
- name: Build JavaToCSharp
run: dotnet build ./JavaToCSharp/JavaToCSharp.csproj --configuration Release
- name: Test JavaToCSharp.Tests
run: dotnet test ./JavaToCSharp.Tests/JavaToCSharp.Tests.csproj --configuration Release
- name: Build JavaToCSharpCli
run: dotnet build ./JavaToCSharpCli/JavaToCSharpCli.csproj --configuration Release
- name: Build JavaToCSharpGui
run: dotnet build ./JavaToCSharpGui/JavaToCSharpGui.csproj --configuration Release
linux-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET 8
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.x
- name: Build JavaToCSharp
run: dotnet build ./JavaToCSharp/JavaToCSharp.csproj --configuration Release
- name: Test JavaToCSharp.Tests
run: dotnet test ./JavaToCSharp.Tests/JavaToCSharp.Tests.csproj --configuration Release
- name: Build JavaToCSharpCli
run: dotnet build ./JavaToCSharpCli/JavaToCSharpCli.csproj --configuration Release
- name: Build JavaToCSharpGui
run: dotnet build ./JavaToCSharpGui/JavaToCSharpGui.csproj --configuration Release