Skip to content

Commit

Permalink
Also try Cellar install
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed Sep 9, 2023
1 parent 41c4a69 commit 5480687
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/adhoctest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,29 @@ jobs:
java-version: ${{ matrix.java }}
- name: OpenSSL version
run: openssl version -a
- name: Build with Maven
- name: Compile with Maven
env:
OPENSSL_HOME: "C:\\Miniconda\\Library"
run: mvn -V test -D"rat.skip" -D"animal.sniffer.skip" --no-transfer-progress -DtrimStackTrace=false
run: mvn -V compile -D"rat.skip" -D"animal.sniffer.skip" --no-transfer-progress -DtrimStackTrace=false
- name: Run sample Crypto
run: |
mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.Crypto" -D"commons.crypto.debug=true"
- name: Run sample OpenSslJna
- name: Run sample OpenSslJna (default library)
if: always()
run: |
mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna" -D"commons.crypto.debug=true"
# - name: Run sample OpenSslJna
# if: always()
# run: |
# mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna" -D"jna.library.path=C:/Miniconda/Library/bin"
- name: Run sample OpenSslJna
- name: Run sample OpenSslJna (miniconda lib)
if: always()
run: |
mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna" -D"jna.library.path=/usr/local/miniconda/lib" -D"commons.crypto.debug=true"
- name: Run sample OpenSslJna (Cellar lib from openssl version -a)
if: always()
run: |
mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna" -D"jna.library.path=/usr/local/Cellar/openssl@1.1/1.1.1v/lib" -D"commons.crypto.debug=true"
# - name: Find OpenSSL Mac
# if: ${{ matrix.os == 'macos-latest' }}
# run: |
Expand Down

0 comments on commit 5480687

Please sign in to comment.