-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|