Skip to content

Commit

Permalink
RSDK-4857 musllinux binaries for python sdk (#102)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
biotinker and github-actions[bot] authored Mar 7, 2024
1 parent 8c46ce9 commit 682f6e9
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[target.x86_64-unknown-linux-musl]
rustflags = [ "-C", "target-feature=-crt-static" ]

[target.aarch64-unknown-linux-musl]
rustflags = [ "-C", "target-feature=-crt-static" ]
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ jobs:
platform: linux_x86_64
image: ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main-centos
runs-on: buildjet-4vcpu-ubuntu-2204
- target: x86_64-unknown-linux-musl
platform: musllinux_x86_64
image: alpine
runs-on: buildjet-4vcpu-ubuntu-2204
- target: arm-unknown-linux-gnueabihf
platform: linux_armv6l
image: ghcr.io/cross-rs/arm-unknown-linux-gnueabihf:main
Expand All @@ -155,6 +159,14 @@ jobs:
libtool \
m4 \
make
- name: Setup alpine dependencies
if: ${{ startsWith(matrix.image, 'alpine') }}
shell: sh
run: |
apk add libgcc \
curl \
build-base \
bash
- name: Checkout Code
uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "viam-rust-utils"
version = "0.2.1"
version = "0.2.0"
edition = "2021"
license = "Apache-2.0"
description = "Utilities designed for use with Viamrobotics's SDKs"
Expand Down

0 comments on commit 682f6e9

Please sign in to comment.