Skip to content

Commit f39022e

Browse files
committed
feat(workflow): add install build dependencies for musl
1 parent 46ff873 commit f39022e

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,17 @@ jobs:
7070

7171
steps:
7272

73+
- name: Alpine system info
74+
if: matrix.name == 'musl'
75+
run: |
76+
echo "=== Alpine Linux Information ==="
77+
cat /etc/alpine-release
78+
echo "Kernel: $(uname -r)"
79+
echo "Architecture: $(uname -m)"
80+
echo "Shell: $SHELL"
81+
echo "Available shells:"
82+
cat /etc/shells
83+
7384
- uses: actions/[email protected]
7485

7586
- uses: msys2/[email protected]
@@ -79,6 +90,24 @@ jobs:
7990
install: >-
8091
mingw-w64-x86_64-cc
8192
make
93+
94+
- name: Install build dependencies
95+
if: matrix.name == 'musl'
96+
run: |
97+
# Update package index and install essential build tools
98+
apk update
99+
apk add --no-cache \
100+
git \
101+
gcc \
102+
g++ \
103+
make \
104+
cmake \
105+
musl-dev \
106+
linux-headers \
107+
pkgconfig \
108+
autoconf \
109+
automake \
110+
libtool
82111
83112
- name: windows build curl
84113
if: matrix.os == 'windows-latest'

0 commit comments

Comments
 (0)