Skip to content

Commit e307fb9

Browse files
committed
Adds musl build support
1 parent 25fdb8d commit e307fb9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,16 @@ jobs:
1919
platform:
2020
- name: linux-x86_64
2121
arch_image: x86_64
22+
gcc_suffix: manylinux
2223
host: ubuntu-latest
2324
- name: linux-arm64
2425
arch_image: arm64
26+
gcc_suffix: manylinux
2527
host: arm64-server
28+
- name: muslinux-x86_64
29+
arch_image: x86_64
30+
gcc_suffix: muslinux
31+
host: ubuntu-latest
2632
steps:
2733
- name: Check out repository
2834
uses: actions/checkout@v4
@@ -35,7 +41,7 @@ jobs:
3541

3642
- name: Build GLib Libraries with Docker
3743
run: |
38-
docker run -v $(pwd):/app -w /app ghcr.io/pytgcalls/ntgcalls/${{ matrix.platform.arch_image }}:latest bash build.sh
44+
docker run -v $(pwd):/app -w /app ghcr.io/pytgcalls/ntgcalls/${{ matrix.platform.gcc_suffix }}-${{ matrix.platform.arch_image }}:latest bash build.sh
3945
4046
- name: Prepare for artifact
4147
run: tar -czvf glib.${{ matrix.platform.name }}.tar.gz artifacts
@@ -59,6 +65,9 @@ jobs:
5965
- uses: ./.github/actions/download
6066
with:
6167
platform: linux-arm64
68+
- uses: ./.github/actions/download
69+
with:
70+
platform: muslinux-x86_64
6271
- name: Env to output
6372
run: |
6473
echo "package_paths<<EOF" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)