|
@@ -48,15 +48,18 @@ jobs:
|
|
|
macOS_5_5:
|
|
macOS_5_5:
|
|
|
name: Test macOS 11 (5.5)
|
|
name: Test macOS 11 (5.5)
|
|
|
runs-on: firebreak
|
|
runs-on: firebreak
|
|
|
|
|
+ defaults:
|
|
|
|
|
+ run:
|
|
|
|
|
+ shell: "/usr/bin/arch -arch arm64e /bin/zsh {0}"
|
|
|
env:
|
|
env:
|
|
|
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
|
steps:
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/checkout@v2
|
|
|
- name: Install Firewalk
|
|
- name: Install Firewalk
|
|
|
- run: arch -arch arm64e brew install alamofire/alamofire/firewalk || arch -arch arm64e brew upgrade alamofire/alamofire/firewalk && arch -arch x86_64 firewalk &
|
|
|
|
|
|
|
+ run: brew install alamofire/alamofire/firewalk || brew upgrade alamofire/alamofire/firewalk && firewalk &
|
|
|
- name: macOS 11 (5.5)
|
|
- name: macOS 11 (5.5)
|
|
|
- run: set -o pipefail && arch -arch arm64e env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire macOS" -destination "platform=macOS" clean test | xcpretty
|
|
|
|
|
|
|
+ run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire macOS" -destination "platform=macOS" clean test | xcpretty
|
|
|
Catalyst:
|
|
Catalyst:
|
|
|
name: Test Catalyst
|
|
name: Test Catalyst
|
|
|
runs-on: macOS-11
|
|
runs-on: macOS-11
|
|
@@ -72,6 +75,9 @@ jobs:
|
|
|
iOS:
|
|
iOS:
|
|
|
name: Test iOS 15
|
|
name: Test iOS 15
|
|
|
runs-on: firebreak
|
|
runs-on: firebreak
|
|
|
|
|
+ defaults:
|
|
|
|
|
+ run:
|
|
|
|
|
+ shell: "/usr/bin/arch -arch arm64e /bin/zsh {0}"
|
|
|
env:
|
|
env:
|
|
|
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
@@ -81,9 +87,9 @@ jobs:
|
|
|
steps:
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/checkout@v2
|
|
|
- name: Install Firewalk
|
|
- name: Install Firewalk
|
|
|
- run: arch -arch arm64e brew install alamofire/alamofire/firewalk || arch -arch arm64e brew upgrade alamofire/alamofire/firewalk && arch -arch x86_64 firewalk &
|
|
|
|
|
|
|
+ run: brew install alamofire/alamofire/firewalk || brew upgrade alamofire/alamofire/firewalk && firewalk &
|
|
|
- name: iOS - ${{ matrix.destination }}
|
|
- name: iOS - ${{ matrix.destination }}
|
|
|
- run: set -o pipefail && arch -arch arm64e env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire iOS" -destination "${{ matrix.destination }}" clean test | xcpretty
|
|
|
|
|
|
|
+ run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire iOS" -destination "${{ matrix.destination }}" clean test | xcpretty
|
|
|
iOS_Concurrency:
|
|
iOS_Concurrency:
|
|
|
name: Test Swift Concurrency
|
|
name: Test Swift Concurrency
|
|
|
runs-on: macOS-11
|
|
runs-on: macOS-11
|
|
@@ -102,6 +108,9 @@ jobs:
|
|
|
tvOS:
|
|
tvOS:
|
|
|
name: Test tvOS
|
|
name: Test tvOS
|
|
|
runs-on: firebreak
|
|
runs-on: firebreak
|
|
|
|
|
+ defaults:
|
|
|
|
|
+ run:
|
|
|
|
|
+ shell: "/usr/bin/arch -arch arm64e /bin/zsh {0}"
|
|
|
env:
|
|
env:
|
|
|
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
@@ -111,12 +120,15 @@ jobs:
|
|
|
steps:
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/checkout@v2
|
|
|
- name: Install Firewalk
|
|
- name: Install Firewalk
|
|
|
- run: arch -arch arm64e brew install alamofire/alamofire/firewalk || arch -arch arm64e brew upgrade alamofire/alamofire/firewalk && arch -arch x86_64 firewalk &
|
|
|
|
|
|
|
+ run: brew install alamofire/alamofire/firewalk || brew upgrade alamofire/alamofire/firewalk && firewalk &
|
|
|
- name: tvOS - ${{ matrix.destination }}
|
|
- name: tvOS - ${{ matrix.destination }}
|
|
|
- run: set -o pipefail && arch -arch arm64e env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire tvOS" -destination "${{ matrix.destination }}" clean test | xcpretty
|
|
|
|
|
|
|
+ run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire tvOS" -destination "${{ matrix.destination }}" clean test | xcpretty
|
|
|
watchOS:
|
|
watchOS:
|
|
|
name: Test watchOS
|
|
name: Test watchOS
|
|
|
runs-on: firebreak
|
|
runs-on: firebreak
|
|
|
|
|
+ defaults:
|
|
|
|
|
+ run:
|
|
|
|
|
+ shell: "/usr/bin/arch -arch arm64e /bin/zsh {0}"
|
|
|
env:
|
|
env:
|
|
|
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
@@ -126,21 +138,24 @@ jobs:
|
|
|
steps:
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/checkout@v2
|
|
|
- name: Install Firewalk
|
|
- name: Install Firewalk
|
|
|
- run: arch -arch arm64e brew install alamofire/alamofire/firewalk || arch -arch arm64e brew upgrade alamofire/alamofire/firewalk && arch -arch x86_64 firewalk &
|
|
|
|
|
|
|
+ run: brew install alamofire/alamofire/firewalk || brew upgrade alamofire/alamofire/firewalk && firewalk &
|
|
|
- name: watchOS - ${{ matrix.destination }}
|
|
- name: watchOS - ${{ matrix.destination }}
|
|
|
- run: set -o pipefail && arch -arch arm64e env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire watchOS" -destination "${{ matrix.destination }}" clean test | xcpretty
|
|
|
|
|
|
|
+ run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire watchOS" -destination "${{ matrix.destination }}" clean test | xcpretty
|
|
|
SPM:
|
|
SPM:
|
|
|
name: Test with SPM
|
|
name: Test with SPM
|
|
|
runs-on: firebreak
|
|
runs-on: firebreak
|
|
|
|
|
+ defaults:
|
|
|
|
|
+ run:
|
|
|
|
|
+ shell: "/usr/bin/arch -arch arm64e /bin/zsh {0}"
|
|
|
env:
|
|
env:
|
|
|
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
|
timeout-minutes: 10
|
|
timeout-minutes: 10
|
|
|
steps:
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/checkout@v2
|
|
|
- name: Install Firewalk
|
|
- name: Install Firewalk
|
|
|
- run: arch -arch arm64e brew install alamofire/alamofire/firewalk || arch -arch arm64e brew upgrade alamofire/alamofire/firewalk && arch -arch x86_64 firewalk &
|
|
|
|
|
|
|
+ run: brew install alamofire/alamofire/firewalk || brew upgrade alamofire/alamofire/firewalk && firewalk &
|
|
|
- name: SPM Test
|
|
- name: SPM Test
|
|
|
- run: arch -arch arm64e swift test -c debug
|
|
|
|
|
|
|
+ run: swift test -c debug
|
|
|
Linux:
|
|
Linux:
|
|
|
name: Linux
|
|
name: Linux
|
|
|
runs-on: ubuntu-20.04
|
|
runs-on: ubuntu-20.04
|