Skip to content

SIANXSVC-1225 run xcodebuild test #29

SIANXSVC-1225 run xcodebuild test

SIANXSVC-1225 run xcodebuild test #29

Workflow file for this run

name: Xcode - Build
on:
push:
branches: [ "SIANXSVC-1225" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: Build and analyse default scheme using xcodebuild command
runs-on: macos-13
env:
PROJECT_NAME: AnexiaAutheticator
SCHEME: AnexiaAuthenticator
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Xcode version
uses: maxim-lobanov/[email protected]
with:
xcode-version: '15.2'
- name: Clean
run: |
xcodebuild clean -project ./TwoFas/${{env.PROJECT_NAME}}.xcodeproj -scheme ${{env.SCHEME}} -destination 'generic/platform=iOS'
- name: Testing App
run: |
xcodebuild test -project ./TwoFas/${{env.PROJECT_NAME}}.xcodeproj -scheme ${{env.SCHEME}}
- name: Build
run: |
xcodebuild build-for-testing -project ./TwoFas/${{env.PROJECT_NAME}}.xcodeproj -scheme ${{env.SCHEME}} -sdk iphonesimulator
- name: Run Tests
run: |
xcodebuild test-without-building -project ./TwoFas/${{env.PROJECT_NAME}}.xcodeproj -scheme ${{env.SCHEME}} -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=17.2,name=iPhone 15 Pro Max'
- name: Build/Release
uses: hectorguerrini/[email protected]
- name: iOS Build Action
uses: yukiarrr/[email protected]
with:
project-path: ./TwoFas