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 52acd32 commit 3bcde1c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/gh-mvn-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,15 @@ jobs:
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: |
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace \
alpine:latest /bin/sh -c "\
apk update && apk add openjdk11 && apk add maven && \
Expand Down

0 comments on commit 3bcde1c

Please sign in to comment.