Skip to content

Commit eda204e

Browse files
committed
tmp
1 parent 9643569 commit eda204e

File tree

1 file changed

+0
-88
lines changed

1 file changed

+0
-88
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -6,55 +6,6 @@ on:
66
- workflow_dispatch
77

88
jobs:
9-
Linux:
10-
runs-on: ubuntu-24.04
11-
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v4
14-
with:
15-
fetch-depth: 0 # needed for Nerdbank.GitVersioning
16-
17-
- name: Setup .NET
18-
uses: actions/setup-dotnet@v4
19-
with:
20-
dotnet-version: 9.0.x
21-
22-
- name: Build Unit Tests .NET
23-
run: dotnet build -f net9.0 test/Renci.SshNet.Tests/
24-
25-
- name: Build IntegrationTests .NET
26-
run: dotnet build -f net9.0 test/Renci.SshNet.IntegrationTests/
27-
28-
- name: Run Unit Tests .NET
29-
run: |
30-
dotnet test \
31-
-f net9.0 \
32-
--no-build \
33-
--logger "console;verbosity=normal" \
34-
--logger GitHubActions \
35-
-p:CollectCoverage=true \
36-
-p:CoverletOutputFormat=cobertura \
37-
-p:CoverletOutput=../../coverlet/linux_unit_test_net_9_coverage.xml \
38-
test/Renci.SshNet.Tests/
39-
40-
- name: Run Integration Tests .NET
41-
run: |
42-
dotnet test \
43-
-f net9.0 \
44-
--no-build \
45-
--logger "console;verbosity=normal" \
46-
--logger GitHubActions \
47-
-p:CollectCoverage=true \
48-
-p:CoverletOutputFormat=cobertura \
49-
-p:CoverletOutput=../../coverlet/linux_integration_test_net_9_coverage.xml \
50-
test/Renci.SshNet.IntegrationTests/
51-
52-
- name: Archive Coverlet Results
53-
uses: actions/upload-artifact@v4
54-
with:
55-
name: Coverlet Results Linux
56-
path: coverlet
57-
589
Windows:
5910
runs-on: windows-2025
6011
steps:
@@ -68,45 +19,6 @@ jobs:
6819
with:
6920
dotnet-version: 9.0.x
7021

71-
- name: Build Solution
72-
run: dotnet build Renci.SshNet.sln
73-
74-
- name: Publish AOT Compatibility Test App
75-
run: dotnet publish -r win-x64 /warnaserror test/Renci.SshNet.AotCompatibilityTestApp/
76-
77-
- name: Create NuGet Package
78-
run: dotnet pack
79-
80-
- name: Archive NuGet Package
81-
uses: actions/upload-artifact@v4
82-
with:
83-
name: NuGet Package
84-
path: src/Renci.SshNet/bin/Release/*.*nupkg
85-
86-
- name: Run Unit Tests .NET
87-
run: |
88-
dotnet test `
89-
-f net9.0 `
90-
--no-build `
91-
--logger "console;verbosity=normal" `
92-
--logger GitHubActions `
93-
-p:CollectCoverage=true `
94-
-p:CoverletOutputFormat=cobertura `
95-
-p:CoverletOutput=../../coverlet/windows_unit_test_net_9_coverage.xml `
96-
test/Renci.SshNet.Tests/
97-
98-
- name: Run Unit Tests .NET Framework
99-
run: |
100-
dotnet test `
101-
-f net462 `
102-
--no-build `
103-
--logger "console;verbosity=normal" `
104-
--logger GitHubActions `
105-
-p:CollectCoverage=true `
106-
-p:CoverletOutputFormat=cobertura `
107-
-p:CoverletOutput=../../coverlet/windows_unit_test_net_4_6_2_coverage.xml `
108-
test/Renci.SshNet.Tests/
109-
11022
- name: Setup WSL2
11123
uses: vedantmgoyal9/setup-wsl2@main
11224

0 commit comments

Comments
 (0)