summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-07-19 16:05:09 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-07-19 16:05:09 +0700
commit2c5b575c020517fc4dcf7c3f0e3ec939d392e416 (patch)
treed920026bd542761257ee002aaa03f605ae03b389
parentAdd .gitlab-ci.yml to solution items (diff)
downloadBouncyCastle.NET-ed25519-2c5b575c020517fc4dcf7c3f0e3ec939d392e416.tar.xz
Run tests with netcoreapp2.1
-rw-r--r--.gitlab-ci.yml6
-rw-r--r--crypto/test/BouncyCastle.Crypto.Tests.csproj2
-rw-r--r--crypto/test/src/crypto/test/AesX86Test.cs2
3 files changed, 5 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7b9f98412..7506e65b6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,7 +12,7 @@ net60-job:
   script:
     - "dotnet test --framework net6.0 -v:normal -l \"console;verbosity=detailed\" crypto\\test\\BouncyCastle.Crypto.Tests.csproj"
 
-netcoreapp311-job:
-  stage: test    # It only starts when the job in the build stage completes successfully.
+netcoreapp21-job:
+  stage: test
   script:
-    - "dotnet test --framework netcoreapp3 -v:normal -l \"console;verbosity=detailed\" crypto\\test\\BouncyCastle.Crypto.Tests.csproj"
+    - "dotnet test --framework netcoreapp2.1 -v:normal -l \"console;verbosity=detailed\" crypto\\test\\BouncyCastle.Crypto.Tests.csproj"
diff --git a/crypto/test/BouncyCastle.Crypto.Tests.csproj b/crypto/test/BouncyCastle.Crypto.Tests.csproj
index 056ac1550..43f348fa8 100644
--- a/crypto/test/BouncyCastle.Crypto.Tests.csproj
+++ b/crypto/test/BouncyCastle.Crypto.Tests.csproj
@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
 
   <PropertyGroup>
-    <TargetFrameworks>net6.0;netcoreapp3.1;net462</TargetFrameworks>
+    <TargetFrameworks>net6.0;netcoreapp2.1;net462</TargetFrameworks>
     <IsPackable>false</IsPackable>
     <AssemblyOriginatorKeyFile>..\..\BouncyCastle.snk</AssemblyOriginatorKeyFile>
     <SignAssembly>true</SignAssembly>
diff --git a/crypto/test/src/crypto/test/AesX86Test.cs b/crypto/test/src/crypto/test/AesX86Test.cs
index 379a31a0e..525126340 100644
--- a/crypto/test/src/crypto/test/AesX86Test.cs
+++ b/crypto/test/src/crypto/test/AesX86Test.cs
@@ -1,4 +1,4 @@
-#if NET5_0_OR_GREATER
+#if NETCOREAPP3_0_OR_GREATER
 using NUnit.Framework;
 
 using Org.BouncyCastle.Crypto.Engines;