Skip to content

Commit 6e58b28

Browse files
committed
Adding Windows and Linux environments
1 parent 02f5057 commit 6e58b28

4 files changed

Lines changed: 46 additions & 6 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: C# Build with Dot Net - Linux
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Setup .NET
16+
uses: actions/setup-dotnet@v4
17+
with:
18+
dotnet-version: 10.0.x
19+
20+
- name: Restore dependencies
21+
run: dotnet restore Upsilon.Apps.Passkey.Linux.slnx
22+
23+
- name: Build Debug
24+
run: dotnet build Upsilon.Apps.Passkey.Linux.slnx --no-restore --configuration Debug
25+
26+
- name: Build Relesae
27+
run: dotnet build Upsilon.Apps.Passkey.Linux.slnx --no-restore --configuration Release
28+
29+
- name: Test
30+
run: dotnet test --no-build --verbosity normal Upsilon.Apps.Passkey.Linux.slnx
31+
32+
33+
permissions:
34+
contents: read
35+
issues: write
36+
pull-requests: write

.github/workflows/csharp-dotnet.yml renamed to .github/workflows/csharp-dotnet-windows.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: C# Build with Dot Net
1+
name: C# Build with Dot Net - Windows
22

33
on:
44
push:
@@ -18,16 +18,16 @@ jobs:
1818
dotnet-version: 10.0.x
1919

2020
- name: Restore dependencies
21-
run: dotnet restore Upsilon.Apps.Passkey.slnx
21+
run: dotnet restore Upsilon.Apps.Passkey.Windows.slnx
2222

2323
- name: Build Debug
24-
run: dotnet build Upsilon.Apps.Passkey.slnx --no-restore --configuration Debug
24+
run: dotnet build Upsilon.Apps.Passkey.Windows.slnx --no-restore --configuration Debug
2525

2626
- name: Build Relesae
27-
run: dotnet build Upsilon.Apps.Passkey.slnx --no-restore --configuration Release
27+
run: dotnet build Upsilon.Apps.Passkey.Windows.slnx --no-restore --configuration Release
2828

2929
- name: Test
30-
run: dotnet test --no-build --verbosity normal Upsilon.Apps.Passkey.slnx
30+
run: dotnet test --no-build --verbosity normal Upsilon.Apps.Passkey.Windows.slnx
3131

3232

3333
permissions:

Upsilon.Apps.Passkey.Linux.slnx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<Solution>
2+
<Project Path="Interfaces/Upsilon.Apps.Passkey.Interfaces.csproj" />
3+
<Project Path="Core/Upsilon.Apps.Passkey.Core.csproj" />
4+
</Solution>
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Solution>
2-
<Project Path="Core/Upsilon.Apps.Passkey.Core.csproj" />
32
<Project Path="Interfaces/Upsilon.Apps.Passkey.Interfaces.csproj" />
3+
<Project Path="Core/Upsilon.Apps.Passkey.Core.csproj" />
44
<Project Path="UnitTests/UnitTests.csproj" />
55
</Solution>

0 commit comments

Comments
 (0)