Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
icarusdust authored Jan 19, 2024
1 parent 32da1d2 commit d096450
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Xcode - Build and Analyze

on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]

jobs:
build:
name: Build and analyse default scheme using xcodebuild command
runs-on: macos-13

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Ruby Bundler
run: gem install bundler:2.3.11
- name: Install Ruby Gems
run: bundle install
- name: Install Arkana
run: bundle exec arkana -e ./env/.env
- name: Install Pods
run: bundle exec pod install
- name: Build project
run: |
set -eo pipefail
time xcodebuild clean build -workspace Mastodon.xcworkspace \
-scheme Mastodon \
-sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.2' -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO

0 comments on commit d096450

Please sign in to comment.