Skip to content

Commit 4ffc27c

Browse files
committed
Add musl x86-64 target to releases
1 parent fe52ce3 commit 4ffc27c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ jobs:
4444
- target: x86_64-unknown-linux-gnu
4545
os: ubuntu-latest
4646

47+
# Musl x86-64 Linux build. Assume librdkafka needs cc/cxx.
48+
- target: x86_64-unknown-linux-musl
49+
os: ubuntu-latest
50+
cc: 'musl-gcc'
51+
cxx: 'explicitly-unset'
52+
4753
# Normal Intel Mac build
4854
- target: x86_64-apple-darwin
4955
os: macos-latest
@@ -71,6 +77,11 @@ jobs:
7177
target: ${{ matrix.target }}
7278
if: matrix.target == 'aarch64-unknown-linux-gnu'
7379

80+
# Install musl tools for musl builds
81+
- name: Install musl tools
82+
run: sudo apt-get update && sudo apt-get install -y musl-tools
83+
if: matrix.target == 'x86_64-unknown-linux-musl'
84+
7485
# Install the protobuf compiler for linux builds
7586
- name: Install protobuf (Apt)
7687
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler

0 commit comments

Comments
 (0)