Skip to content

Commit

Permalink
Add iOS generate uniffi (#1510)
Browse files Browse the repository at this point in the history
  • Loading branch information
rokas-ambrazevicius authored Nov 11, 2024
1 parent 1944328 commit f8d863a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci-nym-vpn-core-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,22 @@ jobs:
run: |
cargo build --verbose --target aarch64-apple-ios -p nym-vpn-lib
- name: Generate uniffi
working-directory: nym-vpn-core
run: |
cargo run --bin uniffi-bindgen generate \
--library target/aarch64-apple-ios/debug/libnym_vpn_lib.a \
--config crates/nym-vpn-lib/uniffi.toml \
--language swift --out-dir build -n
- name: Upload generated uniffi file
if: steps.diff_ios.outcome == 'failure'
uses: actions/upload-artifact@v4
with:
name: updated-uniffi-ios
path: nym-vpn-core/build/nym_vpn_lib.swift
retention-days: 1

- name: Clippy
working-directory: nym-vpn-core
run: |
Expand Down

0 comments on commit f8d863a

Please sign in to comment.