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

Commit

Permalink
Change apple x86 to staticlib
Browse files Browse the repository at this point in the history
  • Loading branch information
KendallWeihe committed Jul 5, 2024
1 parent 4665ece commit bc1b8bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build Rust Crate for macOS
on:
push:
branches:
- kendall/build-both-macs
- kendall/build-both-macs_staticlib

jobs:
build-intel:
Expand All @@ -17,11 +17,11 @@ jobs:
run: rustup target add x86_64-apple-darwin
- name: Build
run: cargo build --target x86_64-apple-darwin -p tbdex_uniffi --release
- name: Upload .dylib
- name: Upload .a
uses: actions/upload-artifact@v3
with:
name: intel-build-dylib
path: target/x86_64-apple-darwin/release/libtbdex_uniffi.dylib
name: intel-build-a
path: target/x86_64-apple-darwin/release/libtbdex_uniffi.a

build-apple-silicon:
runs-on: macos-latest
Expand Down
2 changes: 1 addition & 1 deletion bindings/tbdex_uniffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ web5_uniffi_wrapper = { git = "https://github.com/TBD54566975/web5-rs", rev = "e
uniffi = { version = "0.27.1", features = ["build"] }

[lib]
crate-type = ["cdylib"]
crate-type = ["staticlib", "cdylib"]

[[bin]]
name = "uniffi-bindgen"
Expand Down

0 comments on commit bc1b8bf

Please sign in to comment.