From 3bac27b7a8011a76fa98cc11390df97c16ca6fae Mon Sep 17 00:00:00 2001 From: Lukas Kubanek <533299+lukaskubanek@users.noreply.github.com> Date: Wed, 18 Aug 2021 15:39:28 +0200 Subject: [PATCH] Added macOS 11 & Xcode 13 CI configuration --- .github/workflows/ci.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b1c425..4312567 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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