Mark for deprecation. (#4769) #1
This file contains 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: "AFNetworking CI" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
macOS: | |
name: Test macOS | |
runs-on: macOS-latest | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v2 | |
- name: macOS | |
run: fastlane ci_commit configuration:Debug --env macos | |
iOS: | |
name: Test iOS | |
runs-on: macOS-latest | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v2 | |
- name: iOS | |
run: fastlane ci_commit configuration:Debug --env ios13_xcode11 | |
Catalyst: | |
name: Test Catalyst | |
runs-on: macOS-latest | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Catalyst | |
run: fastlane ci_commit configuration:Debug --env catalyst | |
tvOS: | |
name: Test tvOS | |
runs-on: macOS-latest | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v2 | |
- name: tvOS | |
run: fastlane ci_commit configuration:Debug --env tvos13_xcode11 | |
watchOS: | |
name: Build watchOS | |
runs-on: macOS-latest | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer | |
strategy: | |
matrix: | |
destination: ["OS=6.1.1,name=Apple Watch Series 5 - 44mm"] #, "OS=4.2,name=Apple Watch Series 3 - 42mm", "OS=3.2,name=Apple Watch Series 2 - 42mm"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: watchOS - ${{ matrix.destination }} | |
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "AFNetworking.xcodeproj" -scheme "AFNetworking watchOS" -destination "${{ matrix.destination }}" clean build | xcpretty | |
SPM: | |
name: Build with SPM | |
runs-on: macOS-latest | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v2 | |
- name: SPM Build | |
run: swift build |