34 lines
763 B
YAML
34 lines
763 B
YAML
name: iOS Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
test:
|
|
name: Build and Test
|
|
runs-on: macos-13
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Select Xcode 14.3.1
|
|
run: |
|
|
sudo xcode-select -s /Applications/Xcode_14.3.1.app
|
|
xcodebuild -version
|
|
|
|
- name: Show build settings
|
|
run: xcodebuild -list -project Coinly.xcodeproj
|
|
|
|
- name: Build and test
|
|
run: |
|
|
xcodebuild clean build test \
|
|
-project Coinly.xcodeproj \
|
|
-scheme "Coinly" \
|
|
-destination 'platform=iOS Simulator,name=iPhone 14,OS=16.4' \
|
|
CODE_SIGN_IDENTITY="" \
|
|
CODE_SIGNING_REQUIRED=NO \
|
|
CODE_SIGNING_ALLOWED=NO
|