Skip to content

Use built-in Result initializer to simplify Result mapping #58

Use built-in Result initializer to simplify Result mapping

Use built-in Result initializer to simplify Result mapping #58

Workflow file for this run

name: CI-iOS
# Controls when the action will run.
# Triggers the workflow on pull request events but only for the master branch.
on:
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build-and-test"
build-and-test:
# The type of runner that the job will run on
runs-on: macos-14-xlarge
timeout-minutes: 8
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_15.3.app
- name: Xcode version
run: /usr/bin/xcodebuild -version
- name: Build and Test
run: xcodebuild clean build test -workspace EssentialApp/EssentialApp.xcworkspace -scheme "CI_iOS" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=17.4" ONLY_ACTIVE_ARCH=YES