church-core/.github/workflows/ios-build.yml
RTSDA 4d6b23beb3
Some checks are pending
iOS UniFFI Build / build-ios (push) Waiting to run
Initial commit: Church Core Rust library
Add church management API library with cross-platform support for iOS, Android, and WASM.
Features include event management, bulletin handling, contact forms, and authentication.
2025-08-16 19:25:01 -04:00

38 lines
899 B
YAML

name: iOS UniFFI Build
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
build-ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim
- name: Install uniffi_bindgen
run: cargo install uniffi_bindgen --bin uniffi-bindgen
- name: Build iOS framework
run: make ios
- name: Test Rust code
run: cargo test --features uniffi
- name: Upload iOS artifacts
uses: actions/upload-artifact@v4
with:
name: ios-bindings
path: |
bindings/ios/church_core.swift
bindings/ios/church_coreFFI.h
bindings/ios/church_coreFFI.modulemap
bindings/ios/libchurch_core_universal.a