-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.24 KB
/
ios.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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-latest
env:
PROJECT_NAME: AnexiaAutheticator
SCHEME: AnexiaAuthenticator
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1.6.0
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
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 'generic/platform=iOS'
- name: Build/Release
uses: hectorguerrini/build-ios-action@v1.0.4
- name: iOS Build Action
uses: yukiarrr/ios-build-action@v1.11.2
with:
project-path: ./TwoFas