Skip to content

Commit

Permalink
Try Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed Nov 9, 2023
1 parent d02f448 commit a8535d3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/maven_adhoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
os: [ macos-latest, ubuntu-latest ]
# These names are used in conditional statements below.
# java: [ 8, 11, 17, 21 ]
java: [ 8 ]
java: [ 21 ]
experimental: [false]

steps:
Expand All @@ -53,12 +53,11 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build with Maven
- name: Build only
env:
OPENSSL_HOME: "C:\\Miniconda\\Library"
NAME: "libcrypto-1_1-x64"
run: |
mvn clean test -B -V -ntp -D"jna.debug_load=true" -DtrimStackTrace=false -D"commons.crypto.debug=true"
mvn clean test -B -V -ntp -DskipTests
# - name: JNA test
# if: always()
# env:
Expand All @@ -72,7 +71,6 @@ jobs:
# run: |
# mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.Crypto" -D"commons.crypto.debug=true" -D"jni.library.name=$env:NAME"
- name: JNI test default
if: always()
run: |
mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.Crypto" -D"commons.crypto.debug=true"
- name: JNA test default
Expand Down

0 comments on commit a8535d3

Please sign in to comment.