provisioning profile updates #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |