Skip to content

Commit

Permalink
Added macOS 11 & Xcode 13 CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaskubanek authored Aug 18, 2021
1 parent 94d4b11 commit 3bac27b
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,32 @@ on:
pull_request:
branches: [ master ]

jobs:
jobs:
macos-11:
name: macOS 11 (Xcode ${{ matrix.xcode }})
runs-on: macos-11
strategy:
matrix:
# https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md#xcode
xcode:
- "13.0" # Swift 5.5
- "12.5.1" # Swift 5.4.2
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Build
run: swift build -v
- name: Test
run: swift test -v

macos-10_15:
name: macOS 10.15 (Xcode ${{ matrix.xcode }})
runs-on: macos-10.15
strategy:
matrix:
# See https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xcode
# https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xcode
xcode:
- "12.3" # Swift 5.3.2
- "12.2" # Swift 5.3.1
Expand Down

0 comments on commit 3bac27b

Please sign in to comment.