Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Attempt to build shared libs dynamically
Browse files Browse the repository at this point in the history
  • Loading branch information
KendallWeihe committed Jul 22, 2024
1 parent 2925f12 commit 52acd32
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/gh-mvn-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,6 @@ jobs:
needs: package_artifact
strategy:
matrix:
target:
[
aarch64_apple_darwin,
x86_64_apple_darwin,
x86_64_unknown_linux_gnu,
x86_64_unknown_linux_musl,
]
os: [macos-latest, macos-12, ubuntu-latest, ubuntu-latest]
include:
- target: aarch64_apple_darwin
os: macos-latest
Expand All @@ -148,10 +140,15 @@ jobs:
distribution: "adopt"
java-version: "11"
- name: Run tests on macOS and Ubuntu
if: ${{ matrix.os != 'ubuntu-latest' || matrix.target != 'x86_64_unknown_linux_musl' }}
if: ${{ matrix.target != 'x86_64_unknown_linux_musl' }}
run: |
cd bound/kt
mvn '-Dtest=SystemArchitectureTest#can load shared library' test
- name: Install Docker
if: ${{ matrix.target == 'x86_64_unknown_linux_musl' }}
run: |
sudo apt-get update
sudo apt-get install -y docker.io
- name: Run tests on Alpine for x86_64_unknown_linux_musl
if: ${{ matrix.target == 'x86_64_unknown_linux_musl' }}
run: |
Expand All @@ -160,7 +157,6 @@ jobs:
apk update && apk add openjdk11 && apk add maven && \
cd bound/kt && \
mvn '-Dtest=SystemArchitectureTest#can load shared library' test"
publish_artifact:
runs-on: ubuntu-latest
needs: test_shared_libraries
Expand Down

0 comments on commit 52acd32

Please sign in to comment.