Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak CI #771

Merged
merged 1 commit into from
May 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 14 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,39 @@ on:
- master
pull_request:
branches:
- '*'
- "*"

jobs:
cocoapods:
name: CocoaPods Lint
runs-on: macOS-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: sudo xcode-select -s '/Applications/Xcode_11.4.app'
- run: gem install bundler:1.17.3 && bundle install
- run: ./test podspec

xcode:
name: Xcode ${{ matrix.xcode }} - ${{ matrix.platform }}
runs-on: macOS-latest
runs-on: macos-latest
strategy:
matrix:
xcode: [11.4.1]
platform: [macos, ios, tvos, macos_xcodespm, ios_xcodespm]
fail-fast: false
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app
steps:
- uses: actions/checkout@v2
- run: sudo xcode-select -s '/Applications/Xcode_${{ matrix.xcode }}.app'
- run: ./test ${{ matrix.platform }}
- uses: actions/checkout@v2
- run: ./test ${{ matrix.platform }}

swiftpm_darwin:
name: SwiftPM, Darwin, Xcode ${{ matrix.xcode }}
runs-on: macOS-latest
runs-on: macos-latest
strategy:
matrix:
xcode: [11.4.1]
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app
steps:
- uses: actions/checkout@v2
- run: sudo xcode-select -s '/Applications/Xcode_${{ matrix.xcode }}.app'
- run: ./test swiftpm
- uses: actions/checkout@v2
- run: ./test swiftpm
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ jobs:
# osx_image: xcode10.3
# script: ./test swiftpm
- &swiftpm_linux
name: SwiftPM / Linux / Swift 5.2.2
name: SwiftPM / Linux / Swift 5.2.3
os: linux
env:
- SWIFT_VERSION=5.2.2
- SWIFT_VERSION=5.2.3
install:
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
script:
- ./test swiftpm
# - <<: *swiftpm_linux
# name: SwiftPM / Linux / Swift 5.3
# env:
# - SWIFT_VERSION=5.3
- <<: *swiftpm_linux
name: SwiftPM / Linux / Swift 5.3 Development
env:
- SWIFT_VERSION=5.3-DEVELOPMENT-SNAPSHOT-2020-05-11-a
- <<: *swiftpm_linux
name: SwiftPM / Linux / Swift Development
env:
- SWIFT_VERSION=DEVELOPMENT-SNAPSHOT-2020-04-17-a
- SWIFT_VERSION=DEVELOPMENT-SNAPSHOT-2020-05-18-a
install: true
script:
- ./test $TYPE
Expand Down