Updating Test Files #149
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: analyze-test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
ios-analyze-test: | |
runs-on: macos-12 | |
env: | |
XC_VERSION: ${{ '13.4.1' }} | |
XC_WORKSPACE: ${{ 'WindowsAzureMessaging.xcworkspace' }} | |
XC_SCHEME: ${{ 'WindowsAzureMessaging iOS Framework' }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Select Xcode | |
run: "sudo xcode-select -switch /Applications/Xcode_$XC_VERSION.app" | |
- name: iOS Analyze | |
run: /usr/bin/xcodebuild analyze -workspace "$XC_WORKSPACE" -scheme "$XC_SCHEME" -destination 'platform=iOS Simulator,name=iPhone 11' | |
- name: iOS Test | |
run: /usr/bin/xcodebuild test -workspace "$XC_WORKSPACE" -scheme "$XC_SCHEME" -destination 'platform=iOS Simulator,name=iPhone 11' | |
tvos-analyze-test: | |
runs-on: macos-12 | |
env: | |
XC_VERSION: ${{ '13.4.1' }} | |
XC_WORKSPACE: ${{ 'WindowsAzureMessaging.xcworkspace' }} | |
XC_SCHEME: ${{ 'WindowsAzureMessaging tvOS Framework' }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Select Xcode | |
run: "sudo xcode-select -switch /Applications/Xcode_$XC_VERSION.app" | |
- name: iOS Analyze | |
run: /usr/bin/xcodebuild analyze -workspace "$XC_WORKSPACE" -scheme "$XC_SCHEME" -destination 'platform=tvOS Simulator,name=Apple TV 4K (2nd generation)' | |
- name: iOS Test | |
run: /usr/bin/xcodebuild test -workspace "$XC_WORKSPACE" -scheme "$XC_SCHEME" -destination 'platform=tvOS Simulator,name=Apple TV 4K (2nd generation)' | |
macos-analyze-test: | |
runs-on: macos-12 | |
env: | |
XC_VERSION: ${{ '13.4.1' }} | |
XC_WORKSPACE: ${{ 'WindowsAzureMessaging.xcworkspace' }} | |
XC_SCHEME: ${{ 'WindowsAzureMessaging macOS Framework' }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Select Xcode | |
run: "sudo xcode-select -switch /Applications/Xcode_$XC_VERSION.app" | |
- name: macOS Analyze | |
run: /usr/bin/xcodebuild analyze -workspace "$XC_WORKSPACE" -scheme "$XC_SCHEME" -destination 'platform=macOS' | |
- name: macOS Test | |
run: /usr/bin/xcodebuild test -workspace "$XC_WORKSPACE" -scheme "$XC_SCHEME" -destination 'platform=macOS' | |
mac-catalyst-analyze-test: | |
runs-on: macos-12 | |
env: | |
XC_VERSION: ${{ '13.4.1' }} | |
XC_WORKSPACE: ${{ 'WindowsAzureMessaging.xcworkspace' }} | |
XC_SCHEME: ${{ 'WindowsAzureMessaging iOS Framework' }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Select Xcode | |
run: "sudo xcode-select -switch /Applications/Xcode_$XC_VERSION.app" | |
- name: macOS Analyze | |
run: /usr/bin/xcodebuild analyze -workspace "$XC_WORKSPACE" -scheme "$XC_SCHEME" -destination 'platform=macOS' | |
- name: macOS Test | |
run: /usr/bin/xcodebuild test -workspace "$XC_WORKSPACE" -scheme "$XC_SCHEME" -destination 'platform=macOS' |