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

Commit 52acd32

Browse files
committed
Attempt to build shared libs dynamically
1 parent 2925f12 commit 52acd32

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/gh-mvn-2.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,6 @@ jobs:
116116
needs: package_artifact
117117
strategy:
118118
matrix:
119-
target:
120-
[
121-
aarch64_apple_darwin,
122-
x86_64_apple_darwin,
123-
x86_64_unknown_linux_gnu,
124-
x86_64_unknown_linux_musl,
125-
]
126-
os: [macos-latest, macos-12, ubuntu-latest, ubuntu-latest]
127119
include:
128120
- target: aarch64_apple_darwin
129121
os: macos-latest
@@ -148,10 +140,15 @@ jobs:
148140
distribution: "adopt"
149141
java-version: "11"
150142
- name: Run tests on macOS and Ubuntu
151-
if: ${{ matrix.os != 'ubuntu-latest' || matrix.target != 'x86_64_unknown_linux_musl' }}
143+
if: ${{ matrix.target != 'x86_64_unknown_linux_musl' }}
152144
run: |
153145
cd bound/kt
154146
mvn '-Dtest=SystemArchitectureTest#can load shared library' test
147+
- name: Install Docker
148+
if: ${{ matrix.target == 'x86_64_unknown_linux_musl' }}
149+
run: |
150+
sudo apt-get update
151+
sudo apt-get install -y docker.io
155152
- name: Run tests on Alpine for x86_64_unknown_linux_musl
156153
if: ${{ matrix.target == 'x86_64_unknown_linux_musl' }}
157154
run: |
@@ -160,7 +157,6 @@ jobs:
160157
apk update && apk add openjdk11 && apk add maven && \
161158
cd bound/kt && \
162159
mvn '-Dtest=SystemArchitectureTest#can load shared library' test"
163-
164160
publish_artifact:
165161
runs-on: ubuntu-latest
166162
needs: test_shared_libraries

0 commit comments

Comments
 (0)