This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch sebb-mac-test
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
The following commit(s) were added to refs/heads/sebb-mac-test by this push:
new 851af1c Fix up builds
851af1c is described below
commit 851af1c716f636f260414f0ed46de29f3e0a5311
Author: Sebb <[email protected]>
AuthorDate: Fri Jul 1 15:49:51 2022 +0100
Fix up builds
---
.github/workflows/maventest.yml | 23 ++++++++++++++++++++---
1 file changed, 20 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/maventest.yml b/.github/workflows/maventest.yml
index e2f04a0..40e0e18 100644
--- a/.github/workflows/maventest.yml
+++ b/.github/workflows/maventest.yml
@@ -29,8 +29,7 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
- # Look for older version of crypto library
- os: [macos-10.14, ubuntu-latest, windows-latest]
+ os: [macos-latest, ubuntu-latest, windows-latest]
java: [ 8 ]
experimental: [false]
fail-fast: false
@@ -54,6 +53,24 @@ jobs:
env:
OPENSSL_HOME: "C:\\Miniconda\\Library"
run: |
- mvn -Drat.skip -Danimal.snuffer.skip --no-transfer-progress
test-compile
+ mvn -D"rat.skip" -D"animal.sniffer.skip" --no-transfer-progress
test-compile
+ - name: Test Crypto
+ if: always()
+ run: |
mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.Crypto"
+ - name: Test OpenSslJna
+ if: always()
+ run: |
mvn -q exec:java
-D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna"
+ - name: Test CipherByteArrayExample
+ if: always()
+ run: |
+ mvn -q exec:java -D"exec.classpathScope=test"
-D"exec.mainClass=org.apache.commons.crypto.examples.CipherByteArrayExample"
+ - name: Test RandomExample
+ if: always()
+ run: |
+ mvn -q exec:java -D"exec.classpathScope=test"
-D"exec.mainClass=org.apache.commons.crypto.examples.RandomExample"
+ - name: Test StreamExample
+ if: always()
+ run: |
+ mvn -q exec:java -D"exec.classpathScope=test"
-D"exec.mainClass=org.apache.commons.crypto.examples.StreamExample"