Skip to content

Build CI

Build CI #1

Workflow file for this run

name: iOS build
on:
push:
branches: [ main, '@kwasow/buildCI' ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: macos-latest
steps:
- name: πŸ— Setup repo
uses: actions/checkout@v3
with:
lfs: true
- name: πŸ— Enable corepack
run: corepack enable
- name: πŸ— Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: πŸ“¦ Install dependencies
run: npm install
- name: πŸš€ Build app
run: |
sudo xcode-select --switch /Applications/Xcode_16.1.app/Contents/Developer
npx expo prebuild --platform ios
cd ios
set -o pipefail && xcodebuild -workspace pixelfed.xcworkspace -scheme Pixelfed -destination "platform=iOS Simulator,name=iPhone SE (3rd generation)" | xcbeautify --renderer github-actions