Skip to content

Commit

Permalink
macOS 11 and Xcode 12.5.1 on CI
Browse files Browse the repository at this point in the history
added Carthage job for Xcframework and legacy Lipo
  • Loading branch information
3a4oT committed Aug 19, 2021
1 parent 6ebdee2 commit 5be7110
Showing 1 changed file with 24 additions and 12 deletions.
36 changes: 24 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ on:
jobs:
macOS:
name: Unit Test macOS
runs-on: macOS-latest
runs-on: macos-11
env:
DEVELOPER_DIR: /Applications/Xcode_12.5.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app
WORKSPACE_NAME: IGListKit.xcworkspace
SCHEME_NAME: IGListKit-macOS
steps:
Expand All @@ -39,9 +39,9 @@ jobs:
iOS:
name: Unit Test iOS
runs-on: macOS-latest
runs-on: macos-11
env:
DEVELOPER_DIR: /Applications/Xcode_12.5.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app
WORKSPACE_NAME: IGListKit.xcworkspace
SCHEME_NAME: IGListKit
strategy:
Expand Down Expand Up @@ -70,9 +70,9 @@ jobs:
Cocoapods:
name: Cocoapods Lint
runs-on: macOS-latest
runs-on: macos-11
env:
DEVELOPER_DIR: /Applications/Xcode_12.5.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -97,11 +97,23 @@ jobs:
- name: Run IGListSwiftKit podspec lint
run: bundle exec pod lib lint IGListSwiftKit.podspec --allow-warnings "--include-podspecs=*.podspec"

Carthage:
name: Verify Carthage build
runs-on: macOS-latest
Carthage-XCFramework:
name: Verify Carthage build XCFramework
runs-on: macos-11
env:
DEVELOPER_DIR: /Applications/Xcode_12.5.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Carthage build framework
run: carthage build --no-skip-current --use-xcframeworks

Carthage-Legacy-Lipo-Binaries:
name: Verify Carthage build lipo binaries
runs-on: macos-11
env:
DEVELOPER_DIR: /Applications/Xcode_11.7.app
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -111,9 +123,9 @@ jobs:

Build-Examples:
name: Build Examples and UI tests.
runs-on: macOS-latest
runs-on: macos-11
env:
DEVELOPER_DIR: /Applications/Xcode_12.5.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app
IOS_EXAMPLE_WORKSPACE: Examples/Examples-iOS/IGListKitExamples.xcworkspace
TVOS_EXAMPLE_WORKSPACE: Examples/Examples-tvOS/IGListKitExamples.xcworkspace
MACOS_EXAMPLE_WORKSPACE: Examples/Examples-macOS/IGListKitExamples.xcworkspace
Expand Down

0 comments on commit 5be7110

Please sign in to comment.