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 2023/11/30 12:04:32 UTC
(commons-crypto) branch master updated: Extra macOS versions
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 8860d22b Extra macOS versions
8860d22b is described below
commit 8860d22be3121e696b3ef2b576c899ebd871e4ab
Author: Sebb <se...@apache.org>
AuthorDate: Thu Nov 30 12:04:27 2023 +0000
Extra macOS versions
---
.github/workflows/maven.yml | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 28a3d2d0..8a7dd148 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -53,6 +53,12 @@ jobs:
- os: macos-latest
java: 8
experimental: false
+ - os: macos-12
+ java: 8
+ experimental: false
+ - os: macos-13
+ java: 8
+ experimental: false
- os: ubuntu-latest
java: 8
experimental: false
@@ -107,22 +113,32 @@ jobs:
run: |
mvn -V -B -ntp -DskipTests clean package
- name: Test with Maven (macOS)
- # macOS needs to override the library name (sometimes!)
+ # macOS needs to override the library name (macOS-11)
if: ${{ runner.os == 'macOS' }}
# Show the defaults after the main run (will likely fail with unsafe load)
run: |
+ echo ""
echo "------- Full test using classes -------"
+ echo ""
mvn -V -B -ntp surefire:test -Djni.library.path=$ENGINESDIR -Djna.library.path=$ENGINESDIR
+ echo ""
echo "------- Full test using jar -------"
+ echo ""
mvn -V -B -ntp surefire:test -Djni.library.path=$ENGINESDIR -Djna.library.path=$ENGINESDIR -Ptest-with-jar
+ echo ""
echo "------- Quick test without library override -------"
+ echo ""
mvn -V -B -ntp surefire:test -D"test=CryptoTest,OpenSslJnaTest" || true
- name: Test with Maven (not macOS)
if: ${{ runner.os != 'macOS' }}
run: |
+ echo ""
echo "------- Full test using classes -------"
+ echo ""
mvn -V -B -ntp surefire:test
+ echo ""
echo "------- Full test using jar -------"
+ echo ""
mvn -V -B -ntp surefire:test -Ptest-with-jar
- name: Check benchmark code compiles
if: ${{ matrix.java == '8' }}