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

Commit 3bcde1c

Browse files
committed
Attempt to build shared libs dynamically
1 parent 52acd32 commit 3bcde1c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

+6-5
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,15 @@ jobs:
144144
run: |
145145
cd bound/kt
146146
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
152147
- name: Run tests on Alpine for x86_64_unknown_linux_musl
153148
if: ${{ matrix.target == 'x86_64_unknown_linux_musl' }}
154149
run: |
150+
sudo apt-get update
151+
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
152+
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
153+
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
154+
sudo apt-get update
155+
sudo apt-get install -y docker-ce docker-ce-cli containerd.io
155156
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace \
156157
alpine:latest /bin/sh -c "\
157158
apk update && apk add openjdk11 && apk add maven && \

0 commit comments

Comments
 (0)