Skip to content

SIANXSVC-1225: go through all steps, even the previous failed #32

SIANXSVC-1225: go through all steps, even the previous failed

SIANXSVC-1225: go through all steps, even the previous failed #32

Workflow file for this run

name: iOS - 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: Build for Testing
if: always()
run: |
xcodebuild build-for-testing -project ./TwoFas/${{env.PROJECT_NAME}}.xcodeproj -scheme ${{env.SCHEME}} -sdk iphonesimulator
- name: Run Tests
if: always()
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
if: always()
uses: hectorguerrini/[email protected]