Skip to content

Add Fastlane and GitHub Actions for CI #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build

on: [push]

jobs:
build:
runs-on: macos-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Ruby and Bundler
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7' # Specify a Ruby version compatible with Fastlane and your project
bundler-cache: true # Automatically runs bundle install and caches gems

- name: Build with Fastlane
run: bundle exec fastlane build
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source "https://rubygems.org"

gem "fastlane"
8 changes: 8 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
default_platform(:ios)

platform :ios do
desc "Build the Spacequest app"
lane :build do
gym(scheme: "Spacequest", xcargs: "CODE_SIGN_IDENTITY='' CODE_SIGNING_REQUIRED=NO")
end
end
Loading