Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Use alpine container for alpine build job
Browse files Browse the repository at this point in the history
  • Loading branch information
KendallWeihe committed Jul 5, 2024
1 parent c52fee8 commit b083a8a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/dylib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,17 @@ jobs:
build-alpine:
runs-on: ubuntu-latest
name: Build on Alpine (AMD64)
container: alpine:latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y musl-tools
apk add --no-cache musl-dev build-base
- name: Install Rust
run: rustup toolchain install stable
- name: Set Target
run: rustup target add x86_64-unknown-linux-musl
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
rustup target add x86_64-unknown-linux-musl
- name: Build
run: cargo build --target x86_64-unknown-linux-musl -p tbdex_uniffi --release
- name: Upload .so
Expand Down

0 comments on commit b083a8a

Please sign in to comment.