Skip to content
Closed
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
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ jobs:
platform-label: linux-x86_64
binary: rmux
archive: tar.gz
- os: ubuntu-22.04-arm
target: aarch64-unknown-linux-gnu
platform-label: linux-aarch64
binary: rmux
archive: tar.gz
- os: macos-15-intel
target: x86_64-apple-darwin
platform-label: macos-x86_64
Expand Down Expand Up @@ -123,7 +128,7 @@ jobs:
if [[ "$RUNNER_OS" != "Windows" ]]; then
file "$bin"
fi
if [[ "$TARGET" == "x86_64-unknown-linux-gnu" ]]; then
if [[ "$TARGET" == *-unknown-linux-gnu ]]; then
max_glibc="$(strings "$bin" | grep -o 'GLIBC_[0-9.]*' | sort -V | tail -n 1 || true)"
echo "max GLIBC symbol: ${max_glibc:-none}"
if [[ -n "$max_glibc" ]] && [[ "$(printf '%s\n' "$max_glibc" "GLIBC_2.35" | sort -V | tail -n 1)" != "GLIBC_2.35" ]]; then
Expand All @@ -148,7 +153,7 @@ jobs:
grep -F "rmux $VERSION" version.txt

- name: Install Linux package tooling
if: matrix.target == 'x86_64-unknown-linux-gnu'
if: runner.os == 'Linux'
shell: bash
run: |
sudo apt-get update
Expand Down Expand Up @@ -179,7 +184,7 @@ jobs:
scripts/verify-package.sh "$archive" --checksums dist/SHA256SUMS.txt --run-binary --require-release-artifact

- name: Create Linux distro packages
if: matrix.target == 'x86_64-unknown-linux-gnu'
if: runner.os == 'Linux'
shell: bash
run: |
scripts/package-debian.sh \
Expand Down