You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2022/06/29 21:29:10 UTC

[commons-crypto] branch master updated: Ensure both samples will run; try 1.1.0 and now

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git


The following commit(s) were added to refs/heads/master by this push:
     new d84e51d  Ensure both samples will run; try 1.1.0 and now
d84e51d is described below

commit d84e51da9c0133d8c1c18258188144cbd82274ef
Author: Sebb <se...@apache.org>
AuthorDate: Wed Jun 29 22:29:00 2022 +0100

    Ensure both samples will run; try 1.1.0 and now
---
 .github/workflows/adhoctest.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/adhoctest.yml b/.github/workflows/adhoctest.yml
index c2c8a23..1380a9e 100644
--- a/.github/workflows/adhoctest.yml
+++ b/.github/workflows/adhoctest.yml
@@ -31,13 +31,14 @@ jobs:
       matrix:
         os: [macos-latest, windows-latest]
         java: [ 8 ]
+        ref: [ 'rel/commons-crypto-1.1.0', master ]
       fail-fast: false
-        
+
     steps:
     - uses: actions/checkout@v3
       with:
 #        ref: 'CRYPTO-1.0.0' # failed
-        ref: 'rel/commons-crypto-1.1.0'
+        ref: ${{ matrix.ref }}
     - name: Set up JDK ${{ matrix.java }}
       uses: actions/setup-java@v3
       with:
@@ -49,7 +50,10 @@ jobs:
       env:
         OPENSSL_HOME: "C:\\Miniconda\\Library"
       run: mvn -V test -D"rat.skip" -D"animal.sniffer.skip" --no-transfer-progress -DtrimStackTrace=false
-    - name: Run sample programs
+    - name: Run sample Crypto
       run: |
         mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.Crypto"
+    - name: Run sample OpenSslJna
+      if: always()
+      run: |
         mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna"