Skip to content

Commit

Permalink
Try various macos builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed Sep 9, 2023
1 parent 55b5d7b commit f2d51ed
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/adhoctest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,45 +41,45 @@ jobs:
DYLD_: "/usr/local"
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-20.04]
os: [macos-11, macos-12]
# os: [windows-latest]
java: [ 8 ]
# ref: [ 'rel/commons-crypto-1.1.0', master ]
ref: [ master ]
fail-fast: false

steps:
# - uses: actions/checkout@v3.0.2
# with:
# persist-credentials: false
# with:
# ref: ${{ matrix.ref }}
# - name: Set up JDK ${{ matrix.java }}
# uses: actions/setup-java@v3.5.1
# with:
# distribution: 'temurin'
# java-version: ${{ matrix.java }}
# - name: OpenSSL version
# run: openssl version -a
# - name: Build with Maven
# env:
# OPENSSL_HOME: "C:\\Miniconda\\Library"
# run: mvn -V test -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"
# - name: Run sample OpenSslJna
# if: always()
# run: |
# mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna"
- uses: actions/checkout@v3.0.2
with:
persist-credentials: false
with:
ref: ${{ matrix.ref }}
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3.5.1
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: OpenSSL version
run: openssl version -a
- name: Build with Maven
env:
OPENSSL_HOME: "C:\\Miniconda\\Library"
run: mvn -V test -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"
- name: Run sample OpenSslJna
if: always()
run: |
mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna"
# - 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
# if: always()
# run: |
# mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna" -D"jna.library.path=/Miniconda/Library/bin"
- name: Run sample OpenSslJna
if: always()
run: |
mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna" -D"jna.library.path=/Miniconda/Library/bin"
# - name: Find OpenSSL Mac
# if: ${{ matrix.os == 'macos-latest' }}
# run: |
Expand Down

0 comments on commit f2d51ed

Please sign in to comment.