summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 05eebfb3c..9c6ca4893 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,22 +1,32 @@
 stages:          # List of stages for jobs, and their order of execution
   - test
 
+setup:
+  needs: []
+  script:
+    - "testdata.bat"
+
+
 net461-job:   # This job runs in the test stage.
   stage: test    # It only starts when the job in the build stage completes successfully.
+  needs: ["setup"]
   script:
     - "dotnet test --framework net461 -v:normal -l \"console;verbosity=detailed\" crypto\\test\\BouncyCastle.Crypto.Tests.csproj"
 
 net472-job:
   stage: test
+  needs: ["setup"]
   script:
     - "dotnet test --framework net472 -v:normal -l \"console;verbosity=detailed\" crypto\\test\\BouncyCastle.Crypto.Tests.csproj"
 
 net60-job:
   stage: test
+  needs: ["setup"]
   script:
     - "dotnet test --framework net6.0 -v:normal -l \"console;verbosity=detailed\" crypto\\test\\BouncyCastle.Crypto.Tests.csproj"
 
 netcoreapp31-job:
   stage: test
+  needs: ["setup"]
   script:
     - "dotnet test --framework netcoreapp3.1 -v:normal -l \"console;verbosity=detailed\" crypto\\test\\BouncyCastle.Crypto.Tests.csproj"