]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Test BN_DEBUG in CI
authorRichard Levitte <levitte@openssl.org>
Thu, 9 Oct 2025 17:56:59 +0000 (19:56 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 4 Nov 2025 09:21:29 +0000 (10:21 +0100)
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28801)

.github/workflows/run-checker-daily.yml

index f5e663d878715e93286def790c155819dfc3c72d..2f267df50342a0dc8d2d8d08f65b27aa82fc5e44 100644 (file)
@@ -389,3 +389,26 @@ jobs:
         ./util/opensslwrap.sh version -c
     - name: make test
       run: make test HARNESS_JOBS=${HARNESS_JOBS:-4} OPENSSL_TEST_RAND_ORDER=0
+
+  bn_debug:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v4
+      with:
+        persist-credentials: false
+    - name: config
+      run: ./config --debug --strict-warnings -DBN_DEBUG --banner=Configured -DOPENSSL_NO_SECURE_MEMORY && perl configdata.pm --dump
+    - name: make
+      run: make -j4 # verbose, so no -s here
+    - name: get cpu info
+      run: |
+        cat /proc/cpuinfo
+        ./util/opensslwrap.sh version -c
+    - name: make test
+      run: .github/workflows/make-test
+    - name: save artifacts
+      if: success() || failure()
+      uses: actions/upload-artifact@v4
+      with:
+        name: "ci@bn_debug"
+        path: artifacts.tar.gz