Build CI #1
Workflow file for this run
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: 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 |