Skip to content

Commit 386e03b

Browse files
committed
ci: add static musl build for Glama compatibility
Adds x86_64-unknown-linux-musl target to release matrix, producing chisel-linux-x86_64-musl — a fully static binary with no glibc dependency, required for deployment on Glama (debian:bookworm-slim / glibc 2.36). Made-with: Cursor
1 parent ce3454c commit 386e03b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
- target: x86_64-unknown-linux-gnu
2121
runner: ubuntu-latest
2222
artifact: chisel-linux-x86_64
23+
- target: x86_64-unknown-linux-musl
24+
runner: ubuntu-latest
25+
artifact: chisel-linux-x86_64-musl
26+
use_musl: true
2327
- target: aarch64-unknown-linux-gnu
2428
runner: ubuntu-latest
2529
artifact: chisel-linux-arm64
@@ -50,6 +54,10 @@ jobs:
5054
key: release-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
5155
restore-keys: release-${{ matrix.target }}-
5256

57+
- name: Install musl tools
58+
if: matrix.use_musl
59+
run: sudo apt-get install -y musl-tools
60+
5361
- name: Install cross
5462
if: matrix.use_cross
5563
uses: taiki-e/install-action@cross

0 commit comments

Comments
 (0)