Skip to content

pod install package.json command #24

pod install package.json command

pod install package.json command #24

Workflow file for this run

name: Build
on:
push:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install dependencies
run: |
npm install
- name: Get rust ready
run: |
rustup target install x86_64-linux-android
rustup target install armv7-linux-androideabi
rustup target install aarch64-linux-android
rustup target install i686-linux-android
rustup target install x86_64-apple-ios
rustup target install aarch64-apple-ios
cargo build
- name: Build ironfish-native-module
run: |
npx nx cargo-ios ironfish-native-module -- --target='ios'
npx nx cargo-android ironfish-native-module
- name: prebuild (create iOS dirs for patching)
run: |
npx nx prebuild mobile-app -- --platform ios --no-install
- name: Patch podfile fix expo bug
run: |
npx nx patch-podfile mobile-app
- name: Verify prebuild success
run: |
npx nx prebuild mobile-app