Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,20 @@ jobs:
with:
targets: ${{ matrix.target }}

# Use cross for Linux builds to target older glibc (2.31) for broad compatibility.
# Without this, ubuntu-latest (24.04) produces binaries requiring glibc 2.39+.
- name: Install cross
if: contains(matrix.target, 'linux')
uses: taiki-e/install-action@v2
with:
tool: cross

- name: Build (Linux)
if: contains(matrix.target, 'linux')
run: cross build --release --target ${{ matrix.target }}

- name: Build
if: ${{ !contains(matrix.target, 'linux') }}
env:
RUSTFLAGS: ${{ matrix.rustflags }}
run: cargo build --release --target ${{ matrix.target }}
Expand Down