|
37 | 37 |
|
38 | 38 | - name: Run Integration Tests .NET 1 |
39 | 39 | run: | |
| 40 | + openssl version |
40 | 41 | dotnet test \ |
41 | 42 | -f net10.0 \ |
42 | 43 | --no-build \ |
|
49 | 50 |
|
50 | 51 | - name: Run Integration Tests .NET 2 |
51 | 52 | run: | |
| 53 | + # ml-kem requires openssl 3.5.0+ https://learn.microsoft.com/en-us/dotnet/standard/security/cross-platform-cryptography#ml-kem |
| 54 | + sudo apt remove openssl -y |
| 55 | + wget https://github.com/openssl/openssl/releases/download/openssl-3.5.4/openssl-3.5.4.tar.gz |
| 56 | + tar -xzvf openssl-3.5.4.tar.gz |
| 57 | + cd openssl-3.5.4 |
| 58 | + ./Configure --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib |
| 59 | + make |
| 60 | + sudo make install |
| 61 | + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/ssl |
| 62 | + export PATH=/usr/local/ssl/bin:$PATH |
| 63 | + sudo ldconfig |
| 64 | + openssl version |
| 65 | + sudo systemctl restart ssh |
| 66 | + cd .. |
52 | 67 | dotnet test \ |
53 | 68 | -f net10.0 \ |
54 | 69 | --logger "console;verbosity=normal" \ |
|
60 | 75 | -p:CoverletOutput=../../coverlet/linux_integration_test_net_10_coverage_2.xml \ |
61 | 76 | test/Renci.SshNet.IntegrationTests/ |
62 | 77 |
|
63 | | - - name: Run Integration Tests .NET 3 |
64 | | - run: | |
65 | | - dotnet test \ |
66 | | - -f net10.0 \ |
67 | | - --logger "console;verbosity=normal" \ |
68 | | - --logger GitHubActions \ |
69 | | - --filter "Name=MLKem768X25519Sha256" \ |
70 | | - -p:DefineConstants="Test_BouncyCastle_MLKem" \ |
71 | | - -p:CollectCoverage=true \ |
72 | | - -p:CoverletOutputFormat=cobertura \ |
73 | | - -p:CoverletOutput=../../coverlet/linux_integration_test_net_10_coverage_3.xml \ |
74 | | - test/Renci.SshNet.IntegrationTests/ |
75 | | -
|
76 | 78 | - name: Archive Coverlet Results |
77 | 79 | uses: actions/upload-artifact@v5 |
78 | 80 | with: |
@@ -154,41 +156,15 @@ jobs: |
154 | 156 | podman build -t renci-ssh-tests-server-image -f test/Renci.SshNet.IntegrationTests/Dockerfile test/Renci.SshNet.IntegrationTests/ |
155 | 157 | podman run --rm -h renci-ssh-tests-server -d -p 2222:22 renci-ssh-tests-server-image |
156 | 158 |
|
157 | | - - name: Run Integration Tests .NET Framework 1 |
158 | | - run: |
159 | | - dotnet test ` |
160 | | - -f net48 ` |
161 | | - --logger "console;verbosity=normal" ` |
162 | | - --logger GitHubActions ` |
163 | | - -p:CollectCoverage=true ` |
164 | | - -p:CoverletOutputFormat=cobertura ` |
165 | | - -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_4_8_coverage_1.xml ` |
166 | | - test\Renci.SshNet.IntegrationTests\ |
167 | | - |
168 | | - - name: Run Integration Tests .NET Framework 2 |
169 | | - run: |
170 | | - dotnet test ` |
171 | | - -f net48 ` |
172 | | - --logger "console;verbosity=normal" ` |
173 | | - --logger GitHubActions ` |
174 | | - --filter "Name=MLKem768X25519Sha256" ` |
175 | | - -p:DefineConstants="Test_BCL_MLKem" ` |
176 | | - -p:CollectCoverage=true ` |
177 | | - -p:CoverletOutputFormat=cobertura ` |
178 | | - -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_4_8_coverage_2.xml ` |
179 | | - test\Renci.SshNet.IntegrationTests\ |
180 | | - |
181 | | - - name: Run Integration Tests .NET Framework 3 |
| 159 | + - name: Run Integration Tests .NET Framework |
182 | 160 | run: |
183 | 161 | dotnet test ` |
184 | 162 | -f net48 ` |
185 | 163 | --logger "console;verbosity=normal" ` |
186 | 164 | --logger GitHubActions ` |
187 | | - --filter "Name=MLKem768X25519Sha256" ` |
188 | | - -p:DefineConstants="Test_BouncyCastle_MLKem" ` |
189 | 165 | -p:CollectCoverage=true ` |
190 | 166 | -p:CoverletOutputFormat=cobertura ` |
191 | | - -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_4_8_coverage_3.xml ` |
| 167 | + -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_4_8_coverage.xml ` |
192 | 168 | test\Renci.SshNet.IntegrationTests\ |
193 | 169 |
|
194 | 170 | - name: Archive Coverlet Results |
@@ -222,41 +198,15 @@ jobs: |
222 | 198 | podman build -t renci-ssh-tests-server-image -f test/Renci.SshNet.IntegrationTests/Dockerfile test/Renci.SshNet.IntegrationTests/ |
223 | 199 | podman run --rm -h renci-ssh-tests-server -d -p 2222:22 renci-ssh-tests-server-image |
224 | 200 |
|
225 | | - - name: Run Integration Tests .NET 1 |
226 | | - run: |
227 | | - dotnet test ` |
228 | | - -f net10.0 ` |
229 | | - --logger "console;verbosity=normal" ` |
230 | | - --logger GitHubActions ` |
231 | | - -p:CollectCoverage=true ` |
232 | | - -p:CoverletOutputFormat=cobertura ` |
233 | | - -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_10_coverage_1.xml ` |
234 | | - test\Renci.SshNet.IntegrationTests\ |
235 | | - |
236 | | - - name: Run Integration Tests .NET 2 |
237 | | - run: |
238 | | - dotnet test ` |
239 | | - -f net10.0 ` |
240 | | - --logger "console;verbosity=normal" ` |
241 | | - --logger GitHubActions ` |
242 | | - --filter "Name=MLKem768X25519Sha256" ` |
243 | | - -p:DefineConstants="Test_BCL_MLKem" ` |
244 | | - -p:CollectCoverage=true ` |
245 | | - -p:CoverletOutputFormat=cobertura ` |
246 | | - -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_10_coverage_2.xml ` |
247 | | - test\Renci.SshNet.IntegrationTests\ |
248 | | - |
249 | | - - name: Run Integration Tests .NET 3 |
| 201 | + - name: Run Integration Tests .NET |
250 | 202 | run: |
251 | 203 | dotnet test ` |
252 | 204 | -f net10.0 ` |
253 | 205 | --logger "console;verbosity=normal" ` |
254 | 206 | --logger GitHubActions ` |
255 | | - --filter "Name=MLKem768X25519Sha256" ` |
256 | | - -p:DefineConstants="Test_BouncyCastle_MLKem" ` |
257 | 207 | -p:CollectCoverage=true ` |
258 | 208 | -p:CoverletOutputFormat=cobertura ` |
259 | | - -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_10_coverage_3.xml ` |
| 209 | + -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_10_coverage.xml ` |
260 | 210 | test\Renci.SshNet.IntegrationTests\ |
261 | 211 |
|
262 | 212 | - name: Archive Coverlet Results |
|
0 commit comments