Skip to content

Commit

Permalink
Updated docker build on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
andmev committed Sep 27, 2024
1 parent 8336088 commit 3504005
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,14 @@ jobs:
image: ${{ matrix.settings.docker }}
options: '--user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}:/build -w /build'
run: |
apt-get update && apt-get install -y pkg-config libssl-dev
if command -v apt-get > /dev/null; then
apt-get update && apt-get install -y pkg-config libssl-dev
elif command -v apk > /dev/null; then
apk add --no-cache pkgconf openssl-dev
else
echo "Unsupported package manager. Please install pkg-config and OpenSSL development packages manually."
exit 1
fi
corepack enable
corepack prepare [email protected] --activate
${{ matrix.settings.build }}
Expand Down

0 comments on commit 3504005

Please sign in to comment.