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/27 23:05:47 UTC
[commons-crypto] branch sebb-mac-test updated: Test with main classes
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 33b032a Test with main classes
33b032a is described below
commit 33b032a8341bc5074b2408bd5e6fa81745ae3bc4
Author: sebbASF <se...@users.noreply.github.com>
AuthorDate: Tue Jun 28 00:05:43 2022 +0100
Test with main classes
---
.github/workflows/maven.yml | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index d5befcc..c17fe2c 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -18,6 +18,9 @@ name: Java CI
on:
# allow direct trigger
workflow_dispatch:
+ push:
+ paths:
+ - '**/workflows/maven.yaml'
jobs:
build:
@@ -26,19 +29,9 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
- os: [ubuntu-latest, windows-latest]
+ os: [windows-latest, macos-latest]
java: [ 8 ]
experimental: [false]
-# include:
-# - java: 18-ea
-# os: ubuntu-latest
-# experimental: true
-# - java: 18-ea
-# os: windows-latest
-# experimental: true
-# - java: 18-ea
-# os: macos-latest
-# experimental: true
fail-fast: false
steps:
@@ -65,4 +58,8 @@ jobs:
# "C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw64\\opt"
env:
OPENSSL_HOME: "C:\\Miniconda\\Library"
- run: mvn -V --file pom.xml --no-transfer-progress -DtrimStackTrace=false
+ run: |
+ # mvn -V --file pom.xml --no-transfer-progress -DtrimStackTrace=false
+ mvn test -DskipTests -Drat.skip -Danimal.sniffer.skip
+ mvn -q exec:java -Dexec.mainClass=org.apache.commons.crypto.Crypto
+ mvn -q exec:java -Dexec.mainClass=org.apache.commons.crypto.jna.OpenSslJna